]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - post/tests.c
mpc5121: pdm360ng: add coprocessor POST
[people/ms/u-boot.git] / post / tests.c
index 3224f009a67d883fe4632114d318ea74b6e72877..a4066f9f8b7a7974cef9bcd9dc529df6ee321921 100644 (file)
@@ -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);