From: Wolfgang Denk Date: Tue, 26 Aug 2008 23:45:30 +0200 Subject: [U-Boot] [PATCH 13/15] fdt: refactor initrd related code In-Reply-To: <1218806685-3615-13-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> <1218806685-3615-8-git-send-email-galak@kernel.crashing.org> <1218806685-3615-9-git-send-email-galak@kernel.crashing.org> <1218806685-3615-10-git-send-email-galak@kernel.crashing.org> <1218806685-3615-11-git-send-email-galak@kernel.crashing.org> <1218806685-3615-12-git-send-email-galak@kernel.crashing.org> <1218806685-3615-13-git-send-email-galak@kernel.crashing.org> Message-ID: <20080826214530.2C93D248C3@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-13-git-send-email-galak@kernel.crashing.org> you wrote: > Created a new fdt_initrd() to deal with setting the initrd properties > in the device tree and fixing up the mem reserve. We can use this both > in the choosen node handling and lets us remove some duplicated code when > we fixup the initrd info in bootm on PPC. > > Signed-off-by: Kumar Gala > --- > common/fdt_support.c | 109 ++++++++++++++++++++++++++++++------------------- > include/fdt_support.h | 1 + > lib_ppc/bootm.c | 28 +------------ > 3 files changed, 70 insertions(+), 68 deletions(-) Applied, thanks. Please remind me that we need to do some big uint64_t => phys_addr_t cleanup one day. 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 Where a calculator on the ENIAC is equipped with 18,000 vacuum tubes and weighs 30 tons, computers in the future may have only 1,000 vacuum tubes and weigh only 1/2 tons. - Popular Mechanics, March 1949