[U-Boot] [PATCH 7/7] xes: Enable memory POST and ECC error reporting
Peter Tyser
ptyser at xes-inc.com
Tue Nov 10 00:37:10 CET 2009
Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
---
include/configs/XPEDITE5170.h | 3 +++
include/configs/XPEDITE5200.h | 3 +++
include/configs/XPEDITE5370.h | 3 +++
3 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/include/configs/XPEDITE5170.h b/include/configs/XPEDITE5170.h
index 1a810e4..07a61bb 100644
--- a/include/configs/XPEDITE5170.h
+++ b/include/configs/XPEDITE5170.h
@@ -106,6 +106,9 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_SYS_ALT_MEMTEST
#define CONFIG_SYS_MEMTEST_START 0x10000000
#define CONFIG_SYS_MEMTEST_END 0x20000000
+#define CONFIG_POST (CONFIG_SYS_POST_MEMORY)
+#define CONFIG_CHECK_ECC_ERRORS /* Check ECC count during POST/mtest */
+#define CONFIG_EDAC_FSL_ECC /* Enable ECC checking/command */
/*
* Memory map
diff --git a/include/configs/XPEDITE5200.h b/include/configs/XPEDITE5200.h
index 3f73780..ff780ab 100644
--- a/include/configs/XPEDITE5200.h
+++ b/include/configs/XPEDITE5200.h
@@ -89,6 +89,9 @@
#define CONFIG_SYS_ALT_MEMTEST
#define CONFIG_SYS_MEMTEST_START 0x10000000
#define CONFIG_SYS_MEMTEST_END 0x20000000
+#define CONFIG_POST (CONFIG_SYS_POST_MEMORY)
+#define CONFIG_CHECK_ECC_ERRORS /* Check ECC count during POST/mtest */
+#define CONFIG_EDAC_FSL_ECC /* Enable ECC checking/command */
/*
* Memory map
diff --git a/include/configs/XPEDITE5370.h b/include/configs/XPEDITE5370.h
index 26b798b..0f80ed3 100644
--- a/include/configs/XPEDITE5370.h
+++ b/include/configs/XPEDITE5370.h
@@ -100,6 +100,9 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
#define CONFIG_SYS_ALT_MEMTEST
#define CONFIG_SYS_MEMTEST_START 0x10000000
#define CONFIG_SYS_MEMTEST_END 0x20000000
+#define CONFIG_POST (CONFIG_SYS_POST_MEMORY)
+#define CONFIG_CHECK_ECC_ERRORS /* Check ECC count during POST/mtest */
+#define CONFIG_EDAC_FSL_ECC /* Enable ECC checking/command */
/*
* Memory map
--
1.6.2.1
More information about the U-Boot
mailing list