summaryrefslogtreecommitdiffstats
path: root/board/keymile
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 /board/keymile
parentf2cea405f83da46b72098ea874fb3eefe185d312 (diff)
downloadbootable_bootloader_goldelico_gta04-cada315100c88894b85972a91309a6f2413966b6.zip
bootable_bootloader_goldelico_gta04-cada315100c88894b85972a91309a6f2413966b6.tar.gz
bootable_bootloader_goldelico_gta04-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/keymile')
-rw-r--r--board/keymile/mgcoge/mgcoge.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/board/keymile/mgcoge/mgcoge.c b/board/keymile/mgcoge/mgcoge.c
index b16a01c..932a805 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);