]> git.dujemihanovic.xyz Git - u-boot.git/commit
include: define CONFIG_SPL and CONFIG_TPL as 1
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 30 Jul 2014 05:08:16 +0000 (14:08 +0900)
committerTom Rini <trini@ti.com>
Wed, 30 Jul 2014 12:48:02 +0000 (08:48 -0400)
commit4ce99570292544746d738b0621f83da1d6ce4ddc
treee19f183dc11c932e84aa1539e5648e6f3ea870b9
parent516312598ab1a310d8fa8339694b56090d87c63d
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>
56 files changed:
doc/README.SPL
include/configs/B4860QDS.h
include/configs/BSC9131RDB.h
include/configs/BSC9132QDS.h
include/configs/C29XPCIE.h
include/configs/MPC8313ERDB.h
include/configs/P1010RDB.h
include/configs/P1022DS.h
include/configs/P1_P2_RDB.h
include/configs/T104xRDB.h
include/configs/T208xQDS.h
include/configs/T208xRDB.h
include/configs/T4240QDS.h
include/configs/a3m071.h
include/configs/am335x_igep0033.h
include/configs/am3517_crane.h
include/configs/am3517_evm.h
include/configs/apf27.h
include/configs/arndale.h
include/configs/bur_am335x_common.h
include/configs/cam_enc_4xx.h
include/configs/cm_t35.h
include/configs/da850evm.h
include/configs/devkit8000.h
include/configs/exynos5-dt.h
include/configs/hawkboard.h
include/configs/ipam390.h
include/configs/lwmon5.h
include/configs/m53evk.h
include/configs/mcx.h
include/configs/microblaze-generic.h
include/configs/mx31pdk.h
include/configs/mxs.h
include/configs/omap3_evm_common.h
include/configs/origen.h
include/configs/p1_p2_rdb_pc.h
include/configs/palmtreo680.h
include/configs/pcm051.h
include/configs/sama5d3_xplained.h
include/configs/sama5d3xek.h
include/configs/siemens-am33x-common.h
include/configs/smdkv310.h
include/configs/socfpga_cyclone5.h
include/configs/sunxi-common.h
include/configs/tam3517-common.h
include/configs/tao3530.h
include/configs/tegra-common.h
include/configs/ti814x_evm.h
include/configs/ti816x_evm.h
include/configs/ti_armv7_common.h
include/configs/tricorder.h
include/configs/tx25.h
include/configs/vpac270.h
include/configs/woodburn_sd.h
include/configs/x600.h
include/configs/zynq-common.h