summaryrefslogtreecommitdiff
path: root/post/tests.c
diff options
context:
space:
mode:
authorPavel Kolesnikov <concord@emcraft.com>2007-07-20 15:03:03 +0200
committerStefan Roese <sr@denx.de>2007-07-20 15:03:03 +0200
commit531e3e8b831f357056448fa573137d5fb37000fd (patch)
treeb49334f81c18efb6fe8ced7f960e9075118e2253 /post/tests.c
parent8f085e324ad89423314b1a529a0dd5d85c8397ad (diff)
downloadu-boot-531e3e8b831f357056448fa573137d5fb37000fd.tar.gz
POST: Add ECC POST for the lwmon5 board
This patch adds ECC Post test for the Lwmon5 board based on PPC440EPx to U-Boot. Signed-off-by: Pavel Kolesnikov <concord@emcraft.com> Acked-by: Yuri Tikhonov <yur@emcraft.com> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'post/tests.c')
-rw-r--r--post/tests.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/post/tests.c b/post/tests.c
index f3604b2493..e1c3d28f5b 100644
--- a/post/tests.c
+++ b/post/tests.c
@@ -46,6 +46,7 @@ extern int spr_post_test (int flags);
extern int sysmon_post_test (int flags);
extern int dsp_post_test (int flags);
extern int codec_post_test (int flags);
+extern int ecc_post_test (int flags);
extern int sysmon_init_f (void);
@@ -236,6 +237,18 @@ struct post_test post_list[] =
CFG_POST_CODEC
},
#endif
+#if CONFIG_POST & CFG_POST_ECC
+ {
+ "ECC test",
+ "ecc",
+ "This test checks ECC facility of memory.",
+ POST_ROM | POST_ALWAYS,
+ &ecc_post_test,
+ NULL,
+ NULL,
+ CFG_POST_ECC
+ },
+#endif
};
unsigned int post_list_size = sizeof (post_list) / sizeof (struct post_test);