[U-Boot] [PATCH v2] POST: Remove duplicated post_hotkey_pressed() functions

Wolfgang Denk wd at denx.de
Mon Dec 7 22:44:49 CET 2009


Dear Stefan Roese,

In message <1259817870-32585-1-git-send-email-sr at denx.de> you wrote:
> 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 at denx.de>
> ---
> v2:
> - Rebased on next again
> 
>  board/amcc/katmai/katmai.c    |   11 -----------
>  board/amcc/kilauea/kilauea.c  |   11 -----------
>  board/amcc/makalu/makalu.c    |   11 -----------
>  board/amcc/ocotea/ocotea.c    |   12 ------------
>  board/amcc/sequoia/sequoia.c  |   11 -----------
>  board/amcc/taishan/taishan.c  |   11 -----------
>  board/amcc/yucca/yucca.c      |   11 -----------
>  board/cm5200/cm5200.c         |    8 --------
>  board/esd/pmc440/pmc440.c     |   11 -----------
>  board/gen860t/gen860t.c       |   11 -----------
>  board/korat/korat.c           |   11 -----------
>  board/kup/common/kup.c        |   11 -----------
>  board/mpl/mip405/mip405.c     |   11 -----------
>  board/netstal/hcu4/hcu4.c     |   11 -----------
>  board/netstal/hcu5/hcu5.c     |   11 -----------
>  board/netstal/mcu25/mcu25.c   |   11 -----------
>  board/netta/netta.c           |   11 -----------
>  board/prodrive/alpr/alpr.c    |   12 ------------
>  board/sacsng/sacsng.c         |   12 ------------
>  board/ssv/adnpesc1/adnpesc1.c |   11 -----------
>  board/uc100/uc100.c           |   12 ------------
>  post/post.c                   |   16 ++++++++++++++++
>  22 files changed, 16 insertions(+), 232 deletions(-)

Applied to "next", thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"A little knowledge is a dangerous thing."                - Doug Gwyn


More information about the U-Boot mailing list