[U-Boot-Users] [PATCH] fdt: add common memory fixup function

Kim Phillips kim.phillips at freescale.com
Thu Oct 25 18:08:31 CEST 2007


On Thu, 25 Oct 2007 17:57:10 +0200
"Martin Krause" <Martin.Krause at tqs.de> 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




More information about the U-Boot mailing list