From 8b457d2050c92158c6f95f1701393655baabf310 Mon Sep 17 00:00:00 2001 From: Gil Pitney Date: Thu, 7 Feb 2019 07:34:44 -0800 Subject: [PATCH] boards: cc3220sf_launchxl: Set CONFIG_FLASH defaults for non-XIP In case of !XIP, set defaults for CONFIG_FLASH_SIZE and CONFIG_FLASH_BASE_ADDRESS in Kconfig. Fixes: #13113 Signed-off-by: Gil Pitney --- soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3220sf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3220sf b/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3220sf index 84e377a7a9d..f27e71e2fd4 100644 --- a/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3220sf +++ b/soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3220sf @@ -44,4 +44,11 @@ config GPIO_CC32XX_A3 endif # GPIO +if !XIP +config FLASH_SIZE + default 0 +config FLASH_BASE_ADDRESS + default 0 +endif + endif # SOC_CC3220SF