diff options
author | Stefan Roese <sr@denx.de> | 2009-12-03 06:24:30 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-12-07 22:44:31 +0100 |
commit | 39ff7d5f4cc547a2034a8bfc2a5b5f4b62fd5c20 (patch) | |
tree | 10da4e2dddd8851ae3c01280225fb572fb1ca02a /board/esd/pmc440 | |
parent | 2a49bf3149e34e6f910e70bbc0a26e81cfdbdf70 (diff) | |
download | u-boot-imx-39ff7d5f4cc547a2034a8bfc2a5b5f4b62fd5c20.zip u-boot-imx-39ff7d5f4cc547a2034a8bfc2a5b5f4b62fd5c20.tar.gz u-boot-imx-39ff7d5f4cc547a2034a8bfc2a5b5f4b62fd5c20.tar.bz2 |
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/esd/pmc440')
-rw-r--r-- | board/esd/pmc440/pmc440.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/board/esd/pmc440/pmc440.c b/board/esd/pmc440/pmc440.c index d0ff080..bd43a9a 100644 --- a/board/esd/pmc440/pmc440.c +++ b/board/esd/pmc440/pmc440.c @@ -677,17 +677,6 @@ int is_pci_host(struct pci_controller *hose) } #endif /* defined(CONFIG_PCI) */ -#if defined(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 0; /* No hotkeys supported */ -} -#endif /* CONFIG_POST */ - #ifdef CONFIG_RESET_PHY_R void reset_phy(void) { |