summaryrefslogtreecommitdiff
path: root/board/cm5200
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2009-12-03 11:20:06 +0100
committerWolfgang Denk <wd@denx.de>2009-12-08 22:13:02 +0100
commit00b6d927ba8900cdf218b90b277e1090e284bea6 (patch)
tree3e3cefc2ac5463a8eefaa403dcafecb86a153210 /board/cm5200
parent35e3717772c8c3534c18d8aac69e4b822777c23b (diff)
downloadu-boot-imx-00b6d927ba8900cdf218b90b277e1090e284bea6.zip
u-boot-imx-00b6d927ba8900cdf218b90b277e1090e284bea6.tar.gz
u-boot-imx-00b6d927ba8900cdf218b90b277e1090e284bea6.tar.bz2
5xxx, fdt: move fdt_fixup_memory() to cpu.c file
u-boot updates, before starting Linux, the memory node in the DTS. As this is a "standard" feature, move this functionality to the cpu.c file for mpc5xxx and mpc512x processors. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board/cm5200')
-rw-r--r--board/cm5200/cm5200.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/board/cm5200/cm5200.c b/board/cm5200/cm5200.c
index 0b5412b..5ebcd66 100644
--- a/board/cm5200/cm5200.c
+++ b/board/cm5200/cm5200.c
@@ -271,13 +271,6 @@ static void ft_blob_update(void *blob, bd_t *bd)
if (ret < 0)
printf("ft_blob_update(): cannot set /model property err:%s\n",
fdt_strerror(ret));
-
- ret = fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
-
- if (ret < 0) {
- printf("ft_blob_update(): cannot set /memory/reg "
- "property err:%s\n", fdt_strerror(ret));
- }
}
#endif /* defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT) */