summaryrefslogtreecommitdiff
path: root/post/tests.c
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2010-04-24 19:27:11 +0200
committerWolfgang Denk <wd@denx.de>2010-04-24 22:56:41 +0200
commit29fd7ceb3c1cb7ffaffce1047e806d1e85e3ab4b (patch)
tree432a17a24100ec42fcb131f888ff47907df65fa4 /post/tests.c
parent2ebdb9a9d7abcb17fdbfdc4bbb71b4ef538fc713 (diff)
downloadu-boot-imx-29fd7ceb3c1cb7ffaffce1047e806d1e85e3ab4b.zip
u-boot-imx-29fd7ceb3c1cb7ffaffce1047e806d1e85e3ab4b.tar.gz
u-boot-imx-29fd7ceb3c1cb7ffaffce1047e806d1e85e3ab4b.tar.bz2
mpc5121: pdm360ng: add coprocessor POST
Adds coprocessor communication POST code Signed-off-by: Anatolij Gustschin <agust@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 3224f00..a4066f9 100644
--- a/post/tests.c
+++ b/post/tests.c
@@ -53,6 +53,7 @@ extern int gdc_post_test (int flags);
extern int fpga_post_test (int flags);
extern int lwmon5_watchdog_post_test(int flags);
extern int sysmon1_post_test(int flags);
+extern int coprocessor_post_test(int flags);
extern int sysmon_init_f (void);
@@ -286,6 +287,18 @@ struct post_test post_list[] =
#if CONFIG_POST & CONFIG_SYS_POST_BSPEC5
CONFIG_POST_BSPEC5,
#endif
+#if CONFIG_POST & CONFIG_SYS_POST_COPROC
+ {
+ "Coprocessors communication test",
+ "coproc_com",
+ "This test checks communication with coprocessors.",
+ POST_RAM | POST_ALWAYS | POST_CRITICAL,
+ &coprocessor_post_test,
+ NULL,
+ NULL,
+ CONFIG_SYS_POST_COPROC
+ }
+#endif
};
unsigned int post_list_size = sizeof (post_list) / sizeof (struct post_test);