u-boot/arch/microblaze/Kconfig
Philipp Tomsich b529993e02 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>
2017-08-13 17:12:37 +02:00

27 lines
457 B
Text

menu "MicroBlaze architecture"
depends on MICROBLAZE
config SYS_ARCH
default "microblaze"
choice
prompt "Target select"
optional
config TARGET_MICROBLAZE_GENERIC
bool "Support microblaze-generic"
select BOARD_LATE_INIT
select SUPPORT_SPL
select OF_CONTROL
select DM
select DM_SERIAL
select ENV_IS_IN_FLASH
endchoice
source "board/xilinx/microblaze-generic/Kconfig"
config SPL_LDSCRIPT
default "arch/microblaze/cpu/u-boot-spl.lds"
endmenu