[U-Boot-Users] Fixup of fdt with detected memory size instead of fixed values

Martin Krause Martin.Krause at tqs.de
Thu Oct 25 14:28:32 CEST 2007


Jerry Van Baren wrote on Thursday, October 25, 2007 1:14 PM:
> > What about moving the 83xx fixup code to cmd_bootm.c directly
> > before/after the ft_board_setup() call? Then the memory fixup is
> > done globally for all boards and dont't has to be implemented many
> > times in the several ft_cpu_setup() or ft_board_setup() functions.
> > Any Comments? Otherwise 
> > I'm fine with doing it in ft_board_setup() for the TQM5200 board
> > (copy & paste it from cpu/mpc83xx/cpu.c ;-)
> > 
> > Best Regards,
> > Martin Krause
> 
> Hi Martin, et al.
> 
> I would rather see it in common/fdt_support.c.  The bootm command
> source file has already collected so much loosely related stuff it is
> hard to understand, so I hate to add more stuff to it.

OK, I'll send a patch as further discussion basis.

Best Regards,
Martin Krause




More information about the U-Boot mailing list