From: Wolfgang Denk Date: Tue, 25 May 2010 19:50:52 +0200 Subject: [U-Boot] libfdt: make fdt_increase_size() available to everyone In-Reply-To: References: <1273526815-1091-1-git-send-email-timur@freescale.com> <20100519065420.BC269E6D663@gemini.denx.de> <4BF3FC6D.4000605@freescale.com> <20100519151402.9066DE6D663@gemini.denx.de> <4BF4051A.1090202@freescale.com> <20100519154417.61E04E6D663@gemini.denx.de> <52E9D06A-E721-4907-9024-11BDC8D006E0@kernel.crashing.org> <20100519220628.6CBC2E5C89E@gemini.denx.de> <4BF4623B.1080109@freescale.com> <20100520082812.57AEBCCF026@gemini.denx.de> Message-ID: <20100525175052.2982FE22AD1@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 Timur Tabi, In message you wrote: > On Thu, May 20, 2010 at 3:28 AM, Wolfgang Denk wrote: > > Instead of implementing this feature in a way that makes it restricted > > to your current use case only we can as well make it generic enough so > > others can use it as well. > > Wolfgang, can you tell me what method you would like me to use to pass > the address and/or size of the firmware FIT image to > boot_relocate_fdt()? Obviously, you don't like CONFIG_SYS_FDT_PAD, > but I want to know what direction to go in before I start coding. I'm not sure if I understand what you are trying to ask. If you have an address and a size and want to pass these to a function, you can of course use two arguments to that function, say "phys_addr_t addr, size_t size". But as this seems obvious I feel you might have something else in mind, yet I cannot figure out what it might be. 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 There's no honorable way to kill, no gentle way to destroy. There is nothing good in war. Except its ending. -- Abraham Lincoln, "The Savage Curtain", stardate 5906.5