blob: ce157a79ccc17c88dcff163b7ddb70ad7d8ae8db [file] [log] [blame]
menu "MicroBlaze architecture"
depends on MICROBLAZE
config SYS_ARCH
default "microblaze"
config NEEDS_MANUAL_RELOC
bool "Disable position-independent pre-relocation code"
default y
help
U-Boot expects to be linked to a specific hard-coded address, and to
be loaded to and run from that address. This option lifts that
restriction, thus allowing the code to be loaded to and executed from
almost any 4K aligned address. This logic relies on the relocation
information that is embedded in the binary to support U-Boot
relocating itself to the top-of-RAM later during execution.
config STATIC_RELA
def_bool y if !NEEDS_MANUAL_RELOC
choice
prompt "Target select"
optional
config TARGET_MICROBLAZE_GENERIC
bool "Support microblaze-generic"
select BOARD_LATE_INIT
select DM
select DM_SERIAL
select OF_CONTROL
select SUPPORT_SPL
select SPL_LIBCOMMON_SUPPORT if SPL
select SPL_LIBGENERIC_SUPPORT if SPL
select SYSRESET
select DM_SPI
select DM_SPI_FLASH
select SPI
imply CMD_DM
endchoice
source "board/xilinx/Kconfig"
source "board/xilinx/microblaze-generic/Kconfig"
endmenu