diff options
author | Pavel Kolesnikov <concord@emcraft.com> | 2007-07-20 15:03:03 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-07-20 15:03:03 +0200 |
commit | 531e3e8b831f357056448fa573137d5fb37000fd (patch) | |
tree | b49334f81c18efb6fe8ced7f960e9075118e2253 /board/lwmon5/lwmon5.c | |
parent | 8f085e324ad89423314b1a529a0dd5d85c8397ad (diff) | |
download | u-boot-531e3e8b831f357056448fa573137d5fb37000fd.zip u-boot-531e3e8b831f357056448fa573137d5fb37000fd.tar.gz u-boot-531e3e8b831f357056448fa573137d5fb37000fd.tar.bz2 |
POST: Add ECC POST for the lwmon5 board
This patch adds ECC Post test for the Lwmon5 board based
on PPC440EPx to U-Boot.
Signed-off-by: Pavel Kolesnikov <concord@emcraft.com>
Acked-by: Yuri Tikhonov <yur@emcraft.com>
Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/lwmon5/lwmon5.c')
-rw-r--r-- | board/lwmon5/lwmon5.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/board/lwmon5/lwmon5.c b/board/lwmon5/lwmon5.c index d916284..b7dbba3 100644 --- a/board/lwmon5/lwmon5.c +++ b/board/lwmon5/lwmon5.c @@ -463,3 +463,14 @@ void hw_watchdog_reset(void) val = gpio_read_out_bit(CFG_GPIO_WATCHDOG) == 0 ? 1 : 0; gpio_write_bit(CFG_GPIO_WATCHDOG, val); } + +#ifdef CONFIG_POST +/* + * Returns 1 if keys pressed to start the power-on long-running tests + * Called from board_init_f(). + */ +int post_hotkeys_pressed(void) +{ + return (ctrlc()); +} +#endif |