[U-Boot-Users] [PATCH] fdt: add common memory fixup function
Martin Krause
Martin.Krause at tqs.de
Fri Oct 26 12:09:26 CEST 2007
Kumar Gala wrote on Friday, October 26, 2007 11:55 AM:
> On Oct 26, 2007, at 3:49 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 (taken from
> > bd->bi_memstart and bd->bi_memsize).
> >
> > The new function is called for all boards which define
> > CONFIG_OF_LIBFDT.
> >
> > This patch removes already existing board specific memory fixup
> > routines for boards wich have CONFIG_OF_LIBFDT defined and switches
> > them to the new routine. Boards wich use the CONIFG_OF_FLAT_TREE
> > method are not touched.
> >
> > Signed-off-by: Martin Krause <martin.krause at tqs.de> ---
> > Since no one raised his hand - here is the patch :)
> >
> > Best Regards,
> > Martin Krause
> >
> > board/cds/common/ft_board.c | 9 ---------
> > board/cm5200/cm5200.c | 22 ++-------------------
> > board/mpc7448hpc2/mpc7448hpc2.c | 9 ---------
> > board/mpc8540ads/mpc8540ads.c | 9 ---------
> > board/mpc8568mds/ft_board.c | 7 -------
> > board/sbc8349/sbc8349.c | 9 ---------
> > board/sbc8641d/sbc8641d.c | 9 ---------
> > common/cmd_bootm.c | 10 ++++++++++
> > common/fdt_support.c | 41
> > ++++++++++++++++++++++++++++ +++++++++++ include/fdt_support.h
> > | 1 + 10 files changed, 54 insertions(+), 72 deletions(-)
>
> Not all the boards you touched used libfdt today (mpc7448hpc2,
> mpc8540ads, sbc8349, sbc8641d)
Ups, you are right! The flow of patching carried me away ...
I'll redo the patch. Sorry for the noise!
Best Regards,
Martin Krause
More information about the U-Boot
mailing list