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

Simon Glass
2014-04-28T17:30:03Z

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

Oh well.

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