[U-Boot] [PATCH 15/15] bootm: refactor do_reset and os boot function args

Wolfgang Denk wd at denx.de
Tue Aug 26 23:48:25 CEST 2008


Dear Kumar Gala,

In message <1218806685-3615-15-git-send-email-galak at kernel.crashing.org> you wrote:
> There is no need for each OS specific function to call do_reset()
> we can just do it once in bootm.  This means its feasible on an
> error for the os boot function to return.
> 
> Also, remove passing in cmd_tbl_t as its not needed by the OS
> boot functions.  flag isn't currently used but might be in the future
> so we left it alone.
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
>  common/cmd_bootm.c     |   67 +++++++++++++++++++++++++-----------------------
>  lib_arm/bootm.c        |   10 +-----
>  lib_avr32/bootm.c      |   10 +-----
>  lib_blackfin/bootm.c   |   11 ++-----
>  lib_i386/bootm.c       |    9 +-----
>  lib_m68k/bootm.c       |   10 +-----
>  lib_microblaze/bootm.c |   10 +-----
>  lib_mips/bootm.c       |   12 +-------
>  lib_nios/bootm.c       |    4 +-
>  lib_nios2/bootm.c      |    9 +-----
>  lib_ppc/bootm.c        |   11 +++-----
>  lib_sh/bootm.c         |    9 +-----
>  lib_sparc/bootm.c      |    7 +---
>  13 files changed, 62 insertions(+), 117 deletions(-)

Applied, thanks.


Wow. What a patch series...

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
In an organization, each person rises to the level of his own  incom-
petency                                         - The Peter Principle


More information about the U-Boot mailing list