summaryrefslogtreecommitdiffstats
path: root/board/amcc/taishan
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-12-03 06:24:30 +0100
committerWolfgang Denk <wd@denx.de>2009-12-07 22:44:31 +0100
commit39ff7d5f4cc547a2034a8bfc2a5b5f4b62fd5c20 (patch)
tree10da4e2dddd8851ae3c01280225fb572fb1ca02a /board/amcc/taishan
parent2a49bf3149e34e6f910e70bbc0a26e81cfdbdf70 (diff)
downloadblackbird-obmc-uboot-39ff7d5f4cc547a2034a8bfc2a5b5f4b62fd5c20.tar.gz
blackbird-obmc-uboot-39ff7d5f4cc547a2034a8bfc2a5b5f4b62fd5c20.zip
POST: Remove duplicated post_hotkey_pressed() functions
This patch introduces a weak default function for post_hotkey_pressed(), returning 0, for boards without hotkey support. The long-running tests won't be started on those boards. This default function was implemented in many board directories. By implementing this weak default we can remove all those duplicate versions. Boards with hotkey support, can override this weak default function by defining one in their board specific code. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/amcc/taishan')
-rw-r--r--board/amcc/taishan/taishan.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/board/amcc/taishan/taishan.c b/board/amcc/taishan/taishan.c
index 279fae21c1..cac7a78d69 100644
--- a/board/amcc/taishan/taishan.c
+++ b/board/amcc/taishan/taishan.c
@@ -209,17 +209,6 @@ int checkboard (void)
return (0);
}
-#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
-
int board_eth_init(bd_t *bis)
{
cpu_eth_init(bis);
OpenPOWER on IntegriCloud