summaryrefslogtreecommitdiffstats
path: root/cpu/mpc8260
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel@ziswiler.com>2009-10-01 23:55:17 +0200
committerWolfgang Denk <wd@denx.de>2009-11-22 23:16:28 +0100
commitcada315100c88894b85972a91309a6f2413966b6 (patch)
tree2f4e2ad816488a3162ba43302fc424e336d72561 /cpu/mpc8260
parentf2cea405f83da46b72098ea874fb3eefe185d312 (diff)
downloadu-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.c1
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 */