diff options
author | Stefan Roese <sr@denx.de> | 2010-10-07 14:16:25 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2010-10-20 10:08:08 +0200 |
commit | 834a45d7ee81ef185cc834b44b2dae7b637631e2 (patch) | |
tree | c38530dc372d556b9ec9c8f7d109e805f1751153 /post | |
parent | f472069fb71c5259594bea200fb4a5ebca04c89a (diff) | |
download | u-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 'post')
-rw-r--r-- | post/tests.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/post/tests.c b/post/tests.c index a4066f9..5f59fbb 100644 --- a/post/tests.c +++ b/post/tests.c @@ -165,6 +165,9 @@ struct post_test post_list[] = }, #endif #if CONFIG_POST & CONFIG_SYS_POST_UART +#if defined(CONFIG_POST_UART) + CONFIG_POST_UART, +#else { "UART test", "uart", @@ -175,6 +178,7 @@ struct post_test post_list[] = NULL, CONFIG_SYS_POST_UART }, +#endif /* CONFIG_POST_UART */ #endif #if CONFIG_POST & CONFIG_SYS_POST_ETHER { |