]> git.sur5r.net Git - u-boot/commit
POST: Remove duplicated post_hotkey_pressed() functions
authorStefan Roese <sr@denx.de>
Thu, 3 Dec 2009 05:24:30 +0000 (06:24 +0100)
committerWolfgang Denk <wd@denx.de>
Mon, 7 Dec 2009 21:44:31 +0000 (22:44 +0100)
commit39ff7d5f4cc547a2034a8bfc2a5b5f4b62fd5c20
tree10da4e2dddd8851ae3c01280225fb572fb1ca02a
parent2a49bf3149e34e6f910e70bbc0a26e81cfdbdf70
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>
22 files changed:
board/amcc/katmai/katmai.c
board/amcc/kilauea/kilauea.c
board/amcc/makalu/makalu.c
board/amcc/ocotea/ocotea.c
board/amcc/sequoia/sequoia.c
board/amcc/taishan/taishan.c
board/amcc/yucca/yucca.c
board/cm5200/cm5200.c
board/esd/pmc440/pmc440.c
board/gen860t/gen860t.c
board/korat/korat.c
board/kup/common/kup.c
board/mpl/mip405/mip405.c
board/netstal/hcu4/hcu4.c
board/netstal/hcu5/hcu5.c
board/netstal/mcu25/mcu25.c
board/netta/netta.c
board/prodrive/alpr/alpr.c
board/sacsng/sacsng.c
board/ssv/adnpesc1/adnpesc1.c
board/uc100/uc100.c
post/post.c