Merge tag 'u-boot-amlogic-20220809' of https://source.denx.de/u-boot/custodians/u...
[platform/kernel/u-boot.git] / arch / microblaze / Kconfig
1 menu "MicroBlaze architecture"
2         depends on MICROBLAZE
3
4 config SYS_ARCH
5         default "microblaze"
6
7 config 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
18 config STATIC_RELA
19         def_bool y if !NEEDS_MANUAL_RELOC
20
21 choice
22         prompt "Target select"
23         optional
24
25 config TARGET_MICROBLAZE_GENERIC
26         bool "Support microblaze-generic"
27         select BOARD_LATE_INIT
28         select DM
29         select DM_SERIAL
30         select OF_CONTROL
31         select SUPPORT_SPL
32         select SPL_LIBCOMMON_SUPPORT if SPL
33         select SPL_LIBGENERIC_SUPPORT if SPL
34         select SYSRESET
35         select DM_SPI
36         select DM_SPI_FLASH
37         select SPI
38         imply CMD_DM
39
40 endchoice
41
42 source "board/xilinx/Kconfig"
43 source "board/xilinx/microblaze-generic/Kconfig"
44
45 endmenu