]> 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 9e2f1a5366bbdc43d061988c07cc511c97ff0f8d..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) */
 
@@ -330,14 +323,6 @@ int board_early_init_r(void)
 }
 
 
-#ifdef CONFIG_POST
-int post_hotkeys_pressed(void)
-{
-       return 0;
-}
-#endif /* CONFIG_POST */
-
-
 #if defined(CONFIG_POST) || defined(CONFIG_LOGBUFFER)
 void post_word_store(ulong a)
 {