From: Wolfgang Denk Date: Tue, 26 Aug 2008 23:35:38 +0200 Subject: [U-Boot] [PATCH 07/15] bootm: refactor ramdisk locating code In-Reply-To: <1218806685-3615-7-git-send-email-galak@kernel.crashing.org> References: <1218806685-3615-1-git-send-email-galak@kernel.crashing.org> <1218806685-3615-2-git-send-email-galak@kernel.crashing.org> <1218806685-3615-3-git-send-email-galak@kernel.crashing.org> <1218806685-3615-4-git-send-email-galak@kernel.crashing.org> <1218806685-3615-5-git-send-email-galak@kernel.crashing.org> <1218806685-3615-6-git-send-email-galak@kernel.crashing.org> <1218806685-3615-7-git-send-email-galak@kernel.crashing.org> Message-ID: <20080826213538.95241248C3@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 <1218806685-3615-7-git-send-email-galak@kernel.crashing.org> you wrote: > Move determing if we have a ramdisk and where its located into the common > code. Keep track of the ramdisk start and end in the bootm_headers_t image > struct. > > Signed-off-by: Kumar Gala > --- > common/cmd_bootm.c | 38 ++++++++++++++++++++++++++++++++++++++ > include/image.h | 2 ++ > lib_arm/bootm.c | 10 ++-------- > lib_avr32/bootm.c | 12 +++--------- > lib_i386/bootm.c | 8 +------- > lib_m68k/bootm.c | 12 +++--------- > lib_mips/bootm.c | 12 +++--------- > lib_ppc/bootm.c | 16 +++++----------- > lib_sparc/bootm.c | 17 +++-------------- > 9 files changed, 60 insertions(+), 67 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 Presidency: The greased pig in the field game of American politics. - Ambrose Bierce