diff options
author | Valentin Longchamp <valentin.longchamp@keymile.com> | 2011-09-12 04:18:40 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-05 22:03:11 +0200 |
commit | 8d3fcb5e60b6c8e1d530dbc2e2e33ec6a44670da (patch) | |
tree | 4e87935673e8d70d40f17df1a8ee0b0335ca6c5a /include/post.h | |
parent | ca51d05758c430ec3aa0e90982a0419474ab5574 (diff) | |
download | u-boot-imx-8d3fcb5e60b6c8e1d530dbc2e2e33ec6a44670da.zip u-boot-imx-8d3fcb5e60b6c8e1d530dbc2e2e33ec6a44670da.tar.gz u-boot-imx-8d3fcb5e60b6c8e1d530dbc2e2e33ec6a44670da.tar.bz2 |
POST: add new memory regions test
This test is similar to the actual POST memory test but quicker and
far less complete. It checks the address and data lines and then only
tests some regularly placed sub regions of the RAM.
This can be useful when we want to test the RAM but we do not have enough
time to run the full memory test.
The POST memory test code was rearranged in order to avoid code duplication
between the two tests but the memory test functionnality remains the same.
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Ackey-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/post.h')
-rw-r--r-- | include/post.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/post.h b/include/post.h index e783b94..ac93f43 100644 --- a/include/post.h +++ b/include/post.h @@ -196,6 +196,7 @@ extern int memory_post_test(int flags); #define CONFIG_SYS_POST_CODEC 0x00200000 #define CONFIG_SYS_POST_COPROC 0x00400000 #define CONFIG_SYS_POST_FLASH 0x00800000 +#define CONFIG_SYS_POST_MEM_REGIONS 0x01000000 #endif /* CONFIG_POST */ |