From: Jaehoon Chung Date: Thu, 7 Nov 2019 09:02:20 +0000 (+0900) Subject: board: rpi: not read ram_size from device-tree X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b63663630d265a2e85ec82292c5fb4d696d3b70;p=platform%2Fkernel%2Fu-boot.git board: rpi: not read ram_size from device-tree This patch is workaround to boot u-boot for tizen. In future, it will be fixed. Change-Id: Ic0d40dff1e61df2721f99f13bef5823fa08f5401 Signed-off-by: Jaehoon Chung --- diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index a5bee9c334..866d87020a 100644 --- a/board/raspberrypi/rpi/rpi.c +++ b/board/raspberrypi/rpi/rpi.c @@ -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) {