[U-Boot] [PATCH 2/4] bootm: Add subcommands

Wolfgang Denk wd at denx.de
Wed Oct 29 01:00:02 CET 2008


Dear Kumar Gala,

In message <1224627947-10832-2-git-send-email-galak at kernel.crashing.org> you wrote:
> Add the ability to break the steps of the bootm command into several
> subcommands: start, loados, ramdisk, fdt, bdt, cmdline, prep, go.
> 
> This allows us to do things like manipulate device trees before
> they are passed to a booting kernel or setup memory for a secondary
> core in multicore situations.
> 
> Not all OS types support all subcommands (currently only start, loados,
> ramdisk, fdt, and go are supported).
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
>  common/cmd_bootm.c     |  168 +++++++++++++++++++++++++++++++++++++++++++++++-
>  include/image.h        |   20 ++++++-
>  lib_arm/bootm.c        |    3 +
>  lib_avr32/bootm.c      |    3 +
>  lib_blackfin/bootm.c   |    3 +
>  lib_i386/bootm.c       |    3 +
>  lib_m68k/bootm.c       |    3 +
>  lib_microblaze/bootm.c |    3 +
>  lib_mips/bootm.c       |    3 +
>  lib_nios2/bootm.c      |    3 +
>  lib_ppc/bootm.c        |    3 +
>  lib_sh/bootm.c         |    3 +
>  lib_sparc/bootm.c      |    3 +
>  13 files changed, 219 insertions(+), 2 deletions(-)

Applied, 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
You could end up being oddly sad and full of a strange, diffuse  com-
passion  which would lead you to believe that it might be a good idea
to wipe out the whole human race and start again with amoebas.
                                 - Terry Pratchett, _Guards! Guards!_


More information about the U-Boot mailing list