Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 1 | menu "MicroBlaze architecture" |
| 2 | depends on MICROBLAZE |
| 3 | |
| 4 | config SYS_ARCH |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 5 | default "microblaze" |
| 6 | |
Michal Simek | d58c007 | 2022-06-24 14:15:01 +0200 | [diff] [blame] | 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 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 21 | choice |
| 22 | prompt "Target select" |
Joe Hershberger | a26cd04 | 2015-05-12 14:46:23 -0500 | [diff] [blame] | 23 | optional |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 24 | |
| 25 | config TARGET_MICROBLAZE_GENERIC |
| 26 | bool "Support microblaze-generic" |
Tom Rini | e5ec481 | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 27 | select BOARD_LATE_INIT |
Michal Simek | 4280f50 | 2015-12-09 11:44:17 +0100 | [diff] [blame] | 28 | select DM |
Michal Simek | 9376839 | 2015-12-01 14:24:20 +0100 | [diff] [blame] | 29 | select DM_SERIAL |
Michal Simek | 5ed063d | 2018-07-23 15:55:13 +0200 | [diff] [blame] | 30 | select OF_CONTROL |
| 31 | select SUPPORT_SPL |
Ovidiu Panait | 7a971df | 2021-11-30 18:33:51 +0200 | [diff] [blame] | 32 | select SPL_LIBCOMMON_SUPPORT if SPL |
| 33 | select SPL_LIBGENERIC_SUPPORT if SPL |
Michal Simek | 4a69366 | 2018-07-13 08:26:28 +0200 | [diff] [blame] | 34 | select SYSRESET |
T Karthik Reddy | 78efd78 | 2020-09-17 06:52:09 -0600 | [diff] [blame] | 35 | select DM_SPI |
| 36 | select DM_SPI_FLASH |
| 37 | select SPI |
Michal Simek | 08a00cb | 2018-07-23 15:55:14 +0200 | [diff] [blame] | 38 | imply CMD_DM |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 39 | |
| 40 | endchoice |
| 41 | |
Michal Simek | 92dc921 | 2020-10-22 11:08:58 +0200 | [diff] [blame] | 42 | source "board/xilinx/Kconfig" |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 43 | source "board/xilinx/microblaze-generic/Kconfig" |
| 44 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 45 | endmenu |