diff options
author | Marcel Ziswiler <marcel@ziswiler.com> | 2009-10-01 23:55:17 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-11-22 23:16:28 +0100 |
commit | cada315100c88894b85972a91309a6f2413966b6 (patch) | |
tree | 2f4e2ad816488a3162ba43302fc424e336d72561 /cpu/mpc8260 | |
parent | f2cea405f83da46b72098ea874fb3eefe185d312 (diff) | |
download | u-boot-cada315100c88894b85972a91309a6f2413966b6.tar.gz u-boot-cada315100c88894b85972a91309a6f2413966b6.tar.xz u-boot-cada315100c88894b85972a91309a6f2413966b6.zip |
mpc8260: move FDT memory node fixup into common CPU code.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@noser.com>
Tested-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'cpu/mpc8260')
-rw-r--r-- | cpu/mpc8260/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu/mpc8260/cpu.c b/cpu/mpc8260/cpu.c index 17e6248722..aedbf297ab 100644 --- a/cpu/mpc8260/cpu.c +++ b/cpu/mpc8260/cpu.c @@ -318,6 +318,7 @@ void ft_cpu_setup (void *blob, bd_t *bd) "timebase-frequency", OF_TBCLK, 1); do_fixup_by_prop_u32(blob, "device_type", "cpu", 4, "clock-frequency", bd->bi_intfreq, 1); + fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize); } #endif /* CONFIG_OF_LIBFDT */ |