]> git.baikalelectronics.ru Git - uboot.git/commit
spl: add hierarchical defaults for SPL_LDSCRIPT
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 3 Aug 2017 21:23:55 +0000 (23:23 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:37 +0000 (17:12 +0200)
commita71e77c4e66b917e21855d177a6e79af9b1de6e8
tree7ac9b563cc813ba24712c9c03b00181d497d0d9d
parentc69c472c70ca556906fe88bdfb8a8181d52e1677
spl: add hierarchical defaults for SPL_LDSCRIPT

With SPL_LDSCRIPT moved to Kconfig (and this being a 'string' config
node), all the lingering definitions in header files will cause
warnings/errors due to the redefinition of the configuration item.

As we don't want to pollute the defconfig files (and values should
usually be identical for entire architectures), the defaults are moved
into Kconfig.  Kconfig will always pick the first default that
matches, so please keep these values at the end of each file (to allow
any board-specific Kconfig, which will be included earlier) to
override with an unconditional default setting.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
13 files changed:
arch/arm/Kconfig
arch/arm/cpu/armv8/fsl-layerscape/Kconfig
arch/arm/mach-at91/Kconfig
arch/arm/mach-davinci/Kconfig
arch/arm/mach-exynos/Kconfig
arch/arm/mach-omap2/Kconfig
arch/arm/mach-orion5x/Kconfig
arch/arm/mach-sunxi/Kconfig
arch/arm/mach-zynq/Kconfig
arch/microblaze/Kconfig
board/armadeus/apf27/Kconfig
board/freescale/mx31pdk/Kconfig
board/spear/x600/Kconfig