From c92050f6a2e55593b9cf9c2eacabfd5cf58e77eb Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Mon, 5 Aug 2019 19:09:38 +0900 Subject: [PATCH] rpi3: move SPL_TEXT_BASE into rpi_3_defconfig Move SPL_TEXT_BASE into rpi_3_defconfig. And enable SPL_FS_FAT config to fix build error. Change-Id: Ibecd91813d2a85c5c970a124882d217af81c7dfe Signed-off-by: Jaehoon Chung --- arch/arm/mach-bcm283x/bcm283x-board-spl.c | 1 - configs/rpi_3_defconfig | 2 ++ include/samsung/tizen_rpi.h | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-bcm283x/bcm283x-board-spl.c b/arch/arm/mach-bcm283x/bcm283x-board-spl.c index 742469e2d4..4310d7f8b2 100644 --- a/arch/arm/mach-bcm283x/bcm283x-board-spl.c +++ b/arch/arm/mach-bcm283x/bcm283x-board-spl.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include diff --git a/configs/rpi_3_defconfig b/configs/rpi_3_defconfig index 351339718c..f7333a16c3 100644 --- a/configs/rpi_3_defconfig +++ b/configs/rpi_3_defconfig @@ -15,8 +15,10 @@ CONFIG_SPL_DRIVERS_MISC_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_SPL_STACK_R_ADDR=0xB000000 +CONFIG_SPL_TEXT_BASE=0x00008000 CONFIG_DISTRO_DEFAULTS=y CONFIG_FIT=y +CONFIG_SPL_FS_FAT=y CONFIG_SPL_FIT=y CONFIG_SPL_LOAD_FIT=y CONFIG_OF_BOARD_SETUP=y diff --git a/include/samsung/tizen_rpi.h b/include/samsung/tizen_rpi.h index 87c2668c38..aa85ddc85e 100644 --- a/include/samsung/tizen_rpi.h +++ b/include/samsung/tizen_rpi.h @@ -11,7 +11,6 @@ /* SPL */ #ifdef CONFIG_SPL_BUILD -#define CONFIG_SPL_TEXT_BASE 0x00008000 #define CONFIG_SPL_ATF_TEXT_BASE 0x08400000 #define CONFIG_SPL_MAX_SIZE 0x00030000 #define CONFIG_SPL_BSS_START_ADDR 0x00380000 -- 2.34.1