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-Tag: submit/tizen/20191111.033315~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=427ad55f72945c89eedcc51b15ed3a7843d4b128;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 b21d74413e..1b51ee96b7 100644 --- a/board/raspberrypi/rpi/rpi.c +++ b/board/raspberrypi/rpi/rpi.c @@ -340,6 +340,7 @@ int dram_init(void) return 0; } +#ifdef CNOFIG_NO_TIZEN /* Workaround : Need to fix for tizen */ #ifdef CONFIG_OF_BOARD #ifdef CONFIG_BCM2711 int dram_init_banksize(void) @@ -349,6 +350,7 @@ int dram_init_banksize(void) } #endif #endif +#endif static void set_fdtfile(void) {