From 427ad55f72945c89eedcc51b15ed3a7843d4b128 Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Thu, 7 Nov 2019 18:02:20 +0900 Subject: [PATCH] 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 --- board/raspberrypi/rpi/rpi.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.34.1