blob: ce157a79ccc17c88dcff163b7ddb70ad7d8ae8db [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "MicroBlaze architecture"
2 depends on MICROBLAZE
3
4config SYS_ARCH
Masahiro Yamadadd840582014-07-30 14:08:14 +09005 default "microblaze"
6
Michal Simekd58c0072022-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 Yamadadd840582014-07-30 14:08:14 +090021choice
22 prompt "Target select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050023 optional
Masahiro Yamadadd840582014-07-30 14:08:14 +090024
25config TARGET_MICROBLAZE_GENERIC
26 bool "Support microblaze-generic"
Tom Rinie5ec4812017-01-22 19:43:11 -050027 select BOARD_LATE_INIT
Michal Simek4280f502015-12-09 11:44:17 +010028 select DM
Michal Simek93768392015-12-01 14:24:20 +010029 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +020030 select OF_CONTROL
31 select SUPPORT_SPL
Ovidiu Panait7a971df2021-11-30 18:33:51 +020032 select SPL_LIBCOMMON_SUPPORT if SPL
33 select SPL_LIBGENERIC_SUPPORT if SPL
Michal Simek4a693662018-07-13 08:26:28 +020034 select SYSRESET
T Karthik Reddy78efd782020-09-17 06:52:09 -060035 select DM_SPI
36 select DM_SPI_FLASH
37 select SPI
Michal Simek08a00cb2018-07-23 15:55:14 +020038 imply CMD_DM
Masahiro Yamadadd840582014-07-30 14:08:14 +090039
40endchoice
41
Michal Simek92dc9212020-10-22 11:08:58 +020042source "board/xilinx/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +090043source "board/xilinx/microblaze-generic/Kconfig"
44
Masahiro Yamadadd840582014-07-30 14:08:14 +090045endmenu