From: Kim Phillips Date: Thu, 25 Oct 2007 11:08:31 -0500 Subject: [U-Boot-Users] [PATCH] fdt: add common memory fixup function In-Reply-To: <47F3F98010FF784EBEE6526EAAB078D1024F87A0@tq-mailsrv.tq-net.de> References: <47F3F98010FF784EBEE6526EAAB078D1024F87A0@tq-mailsrv.tq-net.de> Message-ID: <20071025110831.a55f095e.kim.phillips@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 25 Oct 2007 17:57:10 +0200 "Martin Krause" wrote: > Kumar Gala wrote on Thursday, October 25, 2007 5:06 PM: > > On Oct 25, 2007, at 8:43 AM, Martin Krause wrote: > > > > > Add the function fdt_memory() to fixup the /memory node of the fdt > > > with the memory values detected by U-Boot (bd->bi_memstart and > > > bd->bi_memsize). > > > > > > To activate this feature CONFIG_OF_MEMORY_FIXUP has to be defined > > > in the board config file. > > > > Any reason we should even bother with a CONFIG for this? > > Then the memory fixup will be done on _all_ boards using OF_LIBFDT. > If no one raises his hand, not to do this, I'll create a patch > (which will remove the boardspecific memory fixup code from all boards > already doing a memory fixup and switch them to the global fixup). Hi Martin, this is what I was alluding to in the other thread. My hand is down :). Kim