blob: ce157a79ccc17c88dcff163b7ddb70ad7d8ae8db [file] [log] [blame]
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001menu "MicroBlaze architecture"
2 depends on MICROBLAZE
3
4config SYS_ARCH
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09005 default "microblaze"
6
Michal Simekf942ebb2022-06-24 14:15:01 +02007config NEEDS_MANUAL_RELOC
8 bool "Disable position-independent pre-relocation code"
9 default y
10 help
11 U-Boot expects to be linked to a specific hard-coded address, and to
12 be loaded to and run from that address. This option lifts that
13 restriction, thus allowing the code to be loaded to and executed from
14 almost any 4K aligned address. This logic relies on the relocation
15 information that is embedded in the binary to support U-Boot
16 relocating itself to the top-of-RAM later during execution.
17
18config STATIC_RELA
19 def_bool y if !NEEDS_MANUAL_RELOC
20
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090021choice
22 prompt "Target select"
Joe Hershbergerf0699602015-05-12 14:46:23 -050023 optional
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090024
25config TARGET_MICROBLAZE_GENERIC
26 bool "Support microblaze-generic"
Tom Rini22d567e2017-01-22 19:43:11 -050027 select BOARD_LATE_INIT
Michal Simek79561022015-12-09 11:44:17 +010028 select DM
Michal Simek7e4372a2015-12-01 14:24:20 +010029 select DM_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +020030 select OF_CONTROL
31 select SUPPORT_SPL
Ovidiu Panait8001a5c2021-11-30 18:33:51 +020032 select SPL_LIBCOMMON_SUPPORT if SPL
33 select SPL_LIBGENERIC_SUPPORT if SPL
Michal Simek4e39ea82018-07-13 08:26:28 +020034 select SYSRESET
T Karthik Reddyf3612e02020-09-17 06:52:09 -060035 select DM_SPI
36 select DM_SPI_FLASH
37 select SPI
Michal Simek2e7c8192018-07-23 15:55:14 +020038 imply CMD_DM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090039
40endchoice
41
Michal Simek841aa512020-10-22 11:08:58 +020042source "board/xilinx/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090043source "board/xilinx/microblaze-generic/Kconfig"
44
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090045endmenu