board: rpi: not read ram_size from device-tree
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 7 Nov 2019 09:02:20 +0000 (18:02 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 12 Nov 2021 14:33:44 +0000 (15:33 +0100)
This patch is workaround to boot u-boot for tizen.
In future, it will be fixed.

Change-Id: Ic0d40dff1e61df2721f99f13bef5823fa08f5401
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
board/raspberrypi/rpi/rpi.c

index a5bee9c334e22e236079d56ee947771a46276655..866d87020a55b5e73ed95d4ba1cf502d1bf884ff 100644 (file)
@@ -299,6 +299,7 @@ int dram_init(void)
        return 0;
 }
 
+#ifdef CNOFIG_NO_TIZEN /* Workaround : Need to fix for tizen */
 #ifdef CONFIG_OF_BOARD
 int dram_init_banksize(void)
 {
@@ -311,6 +312,8 @@ int dram_init_banksize(void)
        return fdtdec_setup_mem_size_base();
 }
 #endif
+#endif
+#endif
 
 static void set_fdtfile(void)
 {