From: Wolfgang Denk Date: Wed, 29 Oct 2008 01:00:02 +0100 Subject: [U-Boot] [PATCH 2/4] bootm: Add subcommands In-Reply-To: <1224627947-10832-2-git-send-email-galak@kernel.crashing.org> References: <1224627947-10832-1-git-send-email-galak@kernel.crashing.org> <1224627947-10832-2-git-send-email-galak@kernel.crashing.org> Message-ID: <20081029000002.E61FB81C98DD@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Kumar Gala, In message <1224627947-10832-2-git-send-email-galak@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 > --- > 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!_