]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/cm5200/cm5200.c
5xxx, fdt: move fdt_fixup_memory() to cpu.c file
[karo-tx-uboot.git] / board / cm5200 / cm5200.c
index 0b5412bde62689949b58db5d108baf462f224337..5ebcd66c64e01950459fc625051c13b58556b32c 100644 (file)
@@ -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) */