summaryrefslogtreecommitdiffstats
path: root/post/tests.c
diff options
context:
space:
mode:
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);
OpenPOWER on IntegriCloud