summaryrefslogtreecommitdiffstats
path: root/post/tests.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-04-27 22:52:51 +0000
committerwdenk <wdenk>2003-04-27 22:52:51 +0000
commit4532cb696eb717419022dbaa8d408e7df7df7b68 (patch)
tree2b791870499676f1c93b1e8bcc94ace26787ad8e /post/tests.c
parent02c9bed451b36f3b1f11d5fe617da4fe4b9f9ab7 (diff)
downloadblackbird-obmc-uboot-4532cb696eb717419022dbaa8d408e7df7df7b68.tar.gz
blackbird-obmc-uboot-4532cb696eb717419022dbaa8d408e7df7df7b68.zip
* LWMON extensions:
- Splashscreen support - modem support - sysmon support - temperature dependend enabling of LCD * Allow booting from old "PPCBoot" disk partitions * Add support for TQM8255 Board / MPC8255 CPU
Diffstat (limited to 'post/tests.c')
-rw-r--r--post/tests.c40
1 files changed, 40 insertions, 0 deletions
diff --git a/post/tests.c b/post/tests.c
index 4ec307b339..5b2c7e28d6 100644
--- a/post/tests.c
+++ b/post/tests.c
@@ -42,6 +42,12 @@ extern int ether_post_test (int flags);
extern int spi_post_test (int flags);
extern int usb_post_test (int flags);
extern int spr_post_test (int flags);
+extern int sysmon_post_test (int flags);
+
+extern int sysmon_init_f (void);
+
+extern void sysmon_reloc (void);
+
struct post_test post_list[] =
{
@@ -52,6 +58,8 @@ struct post_test post_list[] =
"This test verifies the CPU cache operation.",
POST_RAM | POST_ALWAYS,
&cache_post_test,
+ NULL,
+ NULL,
CFG_POST_CACHE
},
#endif
@@ -62,6 +70,8 @@ struct post_test post_list[] =
"This test checks the watchdog timer.",
POST_RAM | POST_POWERON | POST_POWERFAIL | POST_MANUAL | POST_REBOOT,
&watchdog_post_test,
+ NULL,
+ NULL,
CFG_POST_WATCHDOG
},
#endif
@@ -72,6 +82,8 @@ struct post_test post_list[] =
"This test verifies the I2C operation.",
POST_RAM | POST_ALWAYS,
&i2c_post_test,
+ NULL,
+ NULL,
CFG_POST_I2C
},
#endif
@@ -82,6 +94,8 @@ struct post_test post_list[] =
"This test verifies the RTC operation.",
POST_RAM | POST_POWERFAIL | POST_MANUAL,
&rtc_post_test,
+ NULL,
+ NULL,
CFG_POST_RTC
},
#endif
@@ -92,6 +106,8 @@ struct post_test post_list[] =
"This test checks RAM.",
POST_ROM | POST_POWERON | POST_POWERFAIL | POST_PREREL,
&memory_post_test,
+ NULL,
+ NULL,
CFG_POST_MEMORY
},
#endif
@@ -103,6 +119,8 @@ struct post_test post_list[] =
" CPU.",
POST_RAM | POST_ALWAYS,
&cpu_post_test,
+ NULL,
+ NULL,
CFG_POST_CPU
},
#endif
@@ -113,6 +131,8 @@ struct post_test post_list[] =
"This test verifies the UART operation.",
POST_RAM | POST_POWERFAIL | POST_MANUAL,
&uart_post_test,
+ NULL,
+ NULL,
CFG_POST_UART
},
#endif
@@ -123,6 +143,8 @@ struct post_test post_list[] =
"This test verifies the ETHERNET operation.",
POST_RAM | POST_ALWAYS | POST_MANUAL,
&ether_post_test,
+ NULL,
+ NULL,
CFG_POST_ETHER
},
#endif
@@ -133,6 +155,8 @@ struct post_test post_list[] =
"This test verifies the SPI operation.",
POST_RAM | POST_ALWAYS | POST_MANUAL,
&spi_post_test,
+ NULL,
+ NULL,
CFG_POST_SPI
},
#endif
@@ -143,6 +167,8 @@ struct post_test post_list[] =
"This test verifies the USB operation.",
POST_RAM | POST_ALWAYS | POST_MANUAL,
&usb_post_test,
+ NULL,
+ NULL,
CFG_POST_USB
},
#endif
@@ -153,9 +179,23 @@ struct post_test post_list[] =
"This test checks SPR contents.",
POST_ROM | POST_ALWAYS | POST_PREREL,
&spr_post_test,
+ NULL,
+ NULL,
CFG_POST_SPR
},
#endif
+#if CONFIG_POST & CFG_POST_SYSMON
+ {
+ "SYSMON test",
+ "sysmon",
+ "This test monitors system hardware.",
+ POST_RAM | POST_ALWAYS,
+ &sysmon_post_test,
+ &sysmon_init_f,
+ &sysmon_reloc,
+ CFG_POST_SYSMON
+ },
+#endif
};
unsigned int post_list_size = sizeof (post_list) / sizeof (struct post_test);
OpenPOWER on IntegriCloud