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/keymile | |
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 'board/keymile')
-rw-r--r-- | board/keymile/mgcoge/mgcoge.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/board/keymile/mgcoge/mgcoge.c b/board/keymile/mgcoge/mgcoge.c index b16a01ccc5..932a80547f 100644 --- a/board/keymile/mgcoge/mgcoge.c +++ b/board/keymile/mgcoge/mgcoge.c @@ -312,11 +312,10 @@ int hush_init_var (void) #if defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT) /* - * update "memory" property in the blob + * update "flash" property in the blob */ void ft_blob_update (void *blob, bd_t *bd) { - ulong memory_data[2] = {0}; ulong *flash_data = NULL; ulong flash_reg[6] = {0}; flash_info_t *info; @@ -324,11 +323,6 @@ void ft_blob_update (void *blob, bd_t *bd) int size; int i = 0; - memory_data[0] = cpu_to_be32 (bd->bi_memstart); - memory_data[1] = cpu_to_be32 (bd->bi_memsize); - fdt_set_node_and_value (blob, "/memory", "reg", memory_data, - sizeof (memory_data)); - len = fdt_get_node_and_value (blob, "/localbus", "ranges", (void *)&flash_data); |