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)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 20 Oct 2020 06:13:48 +0000 (15:13 +0900)
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 a5bee9c..866d870 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)
 {