summaryrefslogtreecommitdiff
path: root/cpu
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
parentf2cea405f83da46b72098ea874fb3eefe185d312 (diff)
downloadu-boot-imx-cada315100c88894b85972a91309a6f2413966b6.zip
u-boot-imx-cada315100c88894b85972a91309a6f2413966b6.tar.gz
u-boot-imx-cada315100c88894b85972a91309a6f2413966b6.tar.bz2
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')
-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 17e6248..aedbf29 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 */