From 3a649407a49b041ceb826d55b5919dc8297f8965 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sat, 18 Mar 2017 09:01:44 -0400 Subject: arm: Migrate SYS_THUMB_BUILD to Kconfig, introduce SPL_SYS_THUMB_BUILD Today, we have cases where we wish to build all of U-Boot in Thumb2 mode for various reasons. We also have cases where we only build SPL in Thumb2 mode due to size constraints and wish to build the rest of the system in ARM mode. So in this migration we introduce a new symbol as well, SPL_SYS_THUMB_BUILD to control if we build everything or just SPL (or in theory, just U-Boot) in Thumb2 mode. Signed-off-by: Tom Rini Acked-by: Siarhei Siamashka --- include/configs/sunxi-common.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include/configs/sunxi-common.h') diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index d48bdac07a..e5a514fd2b 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -32,13 +32,6 @@ # define CONFIG_MACH_TYPE_COMPAT_REV 1 #endif -/* - * High Level Configuration Options - */ -#if defined(CONFIG_SPL_BUILD) && !defined(CONFIG_ARM64) -#define CONFIG_SYS_THUMB_BUILD /* Thumbs mode to save space in SPL */ -#endif - /* Serial & console */ #define CONFIG_SYS_NS16550_SERIAL /* ns16550 reg in the low bits of cpu reg */ -- cgit