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

Kim Phillips kim.phillips at freescale.com
Thu Oct 25 00:54:42 CEST 2007


On Wed, 24 Oct 2007 18:41:51 +0200
"Martin Krause" <Martin.Krause at tqs.de> wrote:

> feature for all boards? AFAIK bd->bi_mestart and bd->bi_memsize
> should contain valid values on all boards. So why not fixup the "memory"
> node for all boards in ft_setup()? Does this make sense?

I think you're looking at the old CONFIG_OF_FLAT_TREE code, which has
since been superseded by CONFIG_OF_LIBFDT code.

In 83xx, all boards' /memory fixup occurs in ft_cpu_setup in
cpu/mpc83xx/cpu.c, but, yes, I agree, it should be put somewhere even
more common.

Kim




More information about the U-Boot mailing list