From 4ce99570292544746d738b0621f83da1d6ce4ddc Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Wed, 30 Jul 2014 14:08:16 +0900 Subject: include: define CONFIG_SPL and CONFIG_TPL as 1 We are about to switch to Kconfig in the next commit. But there are something to get done beforehand. In Kconfig, include/generated/autoconf.h defines boolean CONFIG macros as 1. CONFIG_SPL and CONFIG_TPL, if defined, must be set to 1. Otherwise, when switching to Kconfig, the build log would be sprinkled with warning messages like this: warning: "CONFIG_SPL" redefined [enabled by default] Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass --- include/configs/am335x_igep0033.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/configs/am335x_igep0033.h') diff --git a/include/configs/am335x_igep0033.h b/include/configs/am335x_igep0033.h index c17327fef4..5023f9d606 100644 --- a/include/configs/am335x_igep0033.h +++ b/include/configs/am335x_igep0033.h @@ -211,7 +211,7 @@ #undef CONFIG_USE_IRQ /* Defines for SPL */ -#define CONFIG_SPL +#define CONFIG_SPL 1 #define CONFIG_SPL_FRAMEWORK /* * Place the image at the start of the ROM defined image space. -- cgit From 25b4adbba018633b943a99322bfb2fb819c0bafb Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Wed, 30 Jul 2014 14:08:25 +0900 Subject: include: remove CONFIG_SPL/CONFIG_TPL definition in config headers Now CONFIG_SPL and CONFIG_TPL are defined in Kconfig. Remove the redundant definition in config headers. Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass --- include/configs/am335x_igep0033.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/configs/am335x_igep0033.h') diff --git a/include/configs/am335x_igep0033.h b/include/configs/am335x_igep0033.h index 5023f9d606..dcded0acbe 100644 --- a/include/configs/am335x_igep0033.h +++ b/include/configs/am335x_igep0033.h @@ -211,7 +211,6 @@ #undef CONFIG_USE_IRQ /* Defines for SPL */ -#define CONFIG_SPL 1 #define CONFIG_SPL_FRAMEWORK /* * Place the image at the start of the ROM defined image space. -- cgit