diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-07-30 14:08:16 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-30 08:48:02 -0400 |
commit | 4ce99570292544746d738b0621f83da1d6ce4ddc (patch) | |
tree | e19f183dc11c932e84aa1539e5648e6f3ea870b9 /include/configs/sama5d3xek.h | |
parent | 516312598ab1a310d8fa8339694b56090d87c63d (diff) | |
download | u-boot-imx-4ce99570292544746d738b0621f83da1d6ce4ddc.zip u-boot-imx-4ce99570292544746d738b0621f83da1d6ce4ddc.tar.gz u-boot-imx-4ce99570292544746d738b0621f83da1d6ce4ddc.tar.bz2 |
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 <yamada.m@jp.panasonic.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/sama5d3xek.h')
-rw-r--r-- | include/configs/sama5d3xek.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/sama5d3xek.h b/include/configs/sama5d3xek.h index da27180..fe44521 100644 --- a/include/configs/sama5d3xek.h +++ b/include/configs/sama5d3xek.h @@ -244,7 +244,7 @@ #define CONFIG_SYS_MALLOC_LEN (1024 * 1024) /* SPL */ -#define CONFIG_SPL +#define CONFIG_SPL 1 #define CONFIG_SPL_FRAMEWORK #define CONFIG_SPL_TEXT_BASE 0x300000 #define CONFIG_SPL_MAX_SIZE 0x10000 |