summaryrefslogtreecommitdiff
path: root/include/configs/lwmon5.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2010-10-07 14:16:25 +0200
committerStefan Roese <sr@denx.de>2010-10-20 10:08:08 +0200
commit834a45d7ee81ef185cc834b44b2dae7b637631e2 (patch)
treec38530dc372d556b9ec9c8f7d109e805f1751153 /include/configs/lwmon5.h
parentf472069fb71c5259594bea200fb4a5ebca04c89a (diff)
downloadu-boot-imx-834a45d7ee81ef185cc834b44b2dae7b637631e2.zip
u-boot-imx-834a45d7ee81ef185cc834b44b2dae7b637631e2.tar.gz
u-boot-imx-834a45d7ee81ef185cc834b44b2dae7b637631e2.tar.bz2
ppc4xx/POST: Add board specific UART POST test to lwmon5
Add CONFIG_POST_UART to implement a board specific UART POST test. This is done since lwmon5 needs to set POST_ALWAYS to run this test on each reboot. And we don't want to change the default behavious of this this. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/lwmon5.h')
-rw-r--r--include/configs/lwmon5.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/lwmon5.h b/include/configs/lwmon5.h
index d003710..a4e92cc 100644
--- a/include/configs/lwmon5.h
+++ b/include/configs/lwmon5.h
@@ -193,6 +193,17 @@
#define CONFIG_SYS_POST_UART_TABLE { CONFIG_SYS_NS16550_COM1, \
CONFIG_SYS_NS16550_COM2 }
+#define CONFIG_POST_UART { \
+ "UART test", \
+ "uart", \
+ "This test verifies the UART operation.", \
+ POST_RAM | POST_SLOWTEST | POST_ALWAYS | POST_MANUAL, \
+ &uart_post_test, \
+ NULL, \
+ NULL, \
+ CONFIG_SYS_POST_UART \
+ }
+
#define CONFIG_POST_WATCHDOG { \
"Watchdog timer test", \
"watchdog", \