]> git.sur5r.net Git - u-boot/blobdiff - post/tests.c
Merge branch 'i2c'
[u-boot] / post / tests.c
index bce53302e68474846b14fb76e2965ecf5c4cf92d..3bccd1a8eddc6da4a2d4fcbeaf1b1d851dcbb8e5 100644 (file)
@@ -44,6 +44,7 @@ extern int usb_post_test (int flags);
 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 sysmon_init_f (void);
 
@@ -209,6 +210,18 @@ struct post_test post_list[] =
        CFG_POST_DSP
     },
 #endif
+#if CONFIG_POST & CFG_POST_DSP
+    {
+       "CODEC test",
+       "codec",
+       "This test checks any connected codec(s).",
+       POST_RAM | POST_MANUAL,
+       &codec_post_test,
+       NULL,
+       NULL,
+       CFG_POST_CODEC
+    },
+#endif
 };
 
 unsigned int post_list_size = sizeof (post_list) / sizeof (struct post_test);