[U-Boot-Users] [PATCH] fdt: add common memory fixup function
Martin Krause
Martin.Krause at tqs.de
Thu Oct 25 17:57:10 CEST 2007
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).
Best Regards,
Martin Krause
More information about the U-Boot
mailing list