Chris Zankel | 1387dab | 2016-08-10 18:36:44 +0300 | [diff] [blame] | 1 | menu "Xtensa architecture" |
| 2 | depends on XTENSA |
| 3 | |
| 4 | config SYS_ARCH |
Chris Zankel | 1387dab | 2016-08-10 18:36:44 +0300 | [diff] [blame] | 5 | default "xtensa" |
| 6 | |
| 7 | config SYS_CPU |
| 8 | string "Xtensa Core Variant" |
| 9 | |
| 10 | choice |
| 11 | prompt "Target select" |
| 12 | |
Chris Zankel | 05d0c5d | 2016-08-10 18:36:48 +0300 | [diff] [blame] | 13 | config TARGET_XTFPGA |
| 14 | bool "Support XTFPGA" |
Tom Rini | d02971e | 2022-02-25 11:19:47 -0500 | [diff] [blame] | 15 | select BOARD_POSTCLK_INIT |
Chris Zankel | 1387dab | 2016-08-10 18:36:44 +0300 | [diff] [blame] | 16 | |
Jiaxun Yang | b2c0538 | 2024-06-18 14:56:09 +0100 | [diff] [blame] | 17 | config TARGET_QEMU_XTENSA |
| 18 | bool "Support QEMU Xtensa Virt Board" |
| 19 | select BOARD_LATE_INIT |
| 20 | |
Chris Zankel | 1387dab | 2016-08-10 18:36:44 +0300 | [diff] [blame] | 21 | endchoice |
| 22 | |
Trevor Woerner | ba64b8b | 2019-05-03 09:40:59 -0400 | [diff] [blame] | 23 | config SYS_ICACHE_OFF |
| 24 | bool "Do not enable icache" |
Trevor Woerner | ba64b8b | 2019-05-03 09:40:59 -0400 | [diff] [blame] | 25 | help |
| 26 | Do not enable instruction cache in U-Boot. |
| 27 | |
Trevor Woerner | 43ec7e0 | 2019-05-03 09:41:00 -0400 | [diff] [blame] | 28 | config SPL_SYS_ICACHE_OFF |
| 29 | bool "Do not enable icache in SPL" |
| 30 | depends on SPL |
| 31 | default SYS_ICACHE_OFF |
| 32 | help |
| 33 | Do not enable instruction cache in SPL. |
| 34 | |
Trevor Woerner | ba64b8b | 2019-05-03 09:40:59 -0400 | [diff] [blame] | 35 | config SYS_DCACHE_OFF |
| 36 | bool "Do not enable dcache" |
Trevor Woerner | ba64b8b | 2019-05-03 09:40:59 -0400 | [diff] [blame] | 37 | help |
| 38 | Do not enable data cache in U-Boot. |
| 39 | |
Trevor Woerner | 43ec7e0 | 2019-05-03 09:41:00 -0400 | [diff] [blame] | 40 | config SPL_SYS_DCACHE_OFF |
| 41 | bool "Do not enable dcache in SPL" |
| 42 | depends on SPL |
| 43 | default SYS_DCACHE_OFF |
| 44 | help |
| 45 | Do not enable data cache in SPL. |
| 46 | |
Jiaxun Yang | 8c519dc | 2024-06-18 14:56:05 +0100 | [diff] [blame] | 47 | config XTENSA_SEMIHOSTING |
| 48 | bool "Support semihosting" |
| 49 | help |
| 50 | Enable Xtensa semihosting debugging support. |
| 51 | |
| 52 | choice |
| 53 | prompt "Semihosting interface" |
| 54 | default XTENSA_SIMCALL_ISS |
| 55 | depends on XTENSA_SEMIHOSTING |
| 56 | help |
| 57 | Choose semihosting interface that will be used for serial port, |
| 58 | block device and networking. |
| 59 | |
| 60 | config XTENSA_SIMCALL_ISS |
| 61 | bool "simcall" |
| 62 | help |
| 63 | Use simcall instruction. simcall is only available on simulators, |
| 64 | it does nothing on hardware. |
| 65 | |
| 66 | config XTENSA_SIMCALL_GDBIO |
| 67 | bool "GDBIO" |
| 68 | help |
| 69 | Use break instruction. It is available on real hardware when GDB |
| 70 | is attached to it via JTAG. |
| 71 | |
| 72 | endchoice |
| 73 | |
Chris Zankel | 05d0c5d | 2016-08-10 18:36:48 +0300 | [diff] [blame] | 74 | source "board/cadence/xtfpga/Kconfig" |
Jiaxun Yang | b2c0538 | 2024-06-18 14:56:09 +0100 | [diff] [blame] | 75 | source "board/emulation/qemu-xtensa/Kconfig" |
Chris Zankel | 1387dab | 2016-08-10 18:36:44 +0300 | [diff] [blame] | 76 | |
| 77 | endmenu |