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 /board/muas3001 | |
parent | f2cea405f83da46b72098ea874fb3eefe185d312 (diff) | |
download | u-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 'board/muas3001')
-rw-r--r-- | board/muas3001/muas3001.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/board/muas3001/muas3001.c b/board/muas3001/muas3001.c index 36caed8..e0a7f32 100644 --- a/board/muas3001/muas3001.c +++ b/board/muas3001/muas3001.c @@ -308,25 +308,9 @@ int board_early_init_r (void) void ft_blob_update (void *blob, bd_t *bd) { int ret, nodeoffset = 0; - ulong memory_data[2] = {0}; ulong flash_data[4] = {0}; ulong speed = 0; - memory_data[0] = cpu_to_be32 (bd->bi_memstart); - memory_data[1] = cpu_to_be32 (bd->bi_memsize); - - nodeoffset = fdt_path_offset (blob, "/memory"); - if (nodeoffset >= 0) { - ret = fdt_setprop (blob, nodeoffset, "reg", memory_data, - sizeof(memory_data)); - if (ret < 0) - printf ("ft_blob_update): cannot set /memory/reg " - "property err:%s\n", fdt_strerror (ret)); - } else { - /* memory node is required in dts */ - printf ("ft_blob_update(): cannot find /memory node " - "err:%s\n", fdt_strerror(nodeoffset)); - } /* update Flash addr, size */ flash_data[2] = cpu_to_be32 (CONFIG_SYS_FLASH_BASE); flash_data[3] = cpu_to_be32 (CONFIG_SYS_FLASH_SIZE); |