[U-Boot] [PATCH 05/11] include: define CONFIG_SPL and CONFIG_TPL as 1

Simon Glass sjg at chromium.org
Mon Apr 28 19:30:03 CEST 2014


On 23 April 2014 23:04, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> 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 defined as 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 at jp.panasonic.com>

Oh well.

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list