blob: 3876c3f7f986841c0c8c096cb08e105a5c17bc21 [file] [log] [blame]
Chris Zankel1387dab2016-08-10 18:36:44 +03001menu "Xtensa architecture"
2 depends on XTENSA
3
4config SYS_ARCH
Chris Zankel1387dab2016-08-10 18:36:44 +03005 default "xtensa"
6
7config SYS_CPU
8 string "Xtensa Core Variant"
9
10choice
11 prompt "Target select"
12
Chris Zankel05d0c5d2016-08-10 18:36:48 +030013config TARGET_XTFPGA
14 bool "Support XTFPGA"
Tom Rinid02971e2022-02-25 11:19:47 -050015 select BOARD_POSTCLK_INIT
Chris Zankel1387dab2016-08-10 18:36:44 +030016
Jiaxun Yangb2c05382024-06-18 14:56:09 +010017config TARGET_QEMU_XTENSA
18 bool "Support QEMU Xtensa Virt Board"
19 select BOARD_LATE_INIT
20
Chris Zankel1387dab2016-08-10 18:36:44 +030021endchoice
22
Trevor Woernerba64b8b2019-05-03 09:40:59 -040023config SYS_ICACHE_OFF
24 bool "Do not enable icache"
Trevor Woernerba64b8b2019-05-03 09:40:59 -040025 help
26 Do not enable instruction cache in U-Boot.
27
Trevor Woerner43ec7e02019-05-03 09:41:00 -040028config 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 Woernerba64b8b2019-05-03 09:40:59 -040035config SYS_DCACHE_OFF
36 bool "Do not enable dcache"
Trevor Woernerba64b8b2019-05-03 09:40:59 -040037 help
38 Do not enable data cache in U-Boot.
39
Trevor Woerner43ec7e02019-05-03 09:41:00 -040040config 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 Yang8c519dc2024-06-18 14:56:05 +010047config XTENSA_SEMIHOSTING
48 bool "Support semihosting"
49 help
50 Enable Xtensa semihosting debugging support.
51
52choice
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
60config 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
66config 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
72endchoice
73
Chris Zankel05d0c5d2016-08-10 18:36:48 +030074source "board/cadence/xtfpga/Kconfig"
Jiaxun Yangb2c05382024-06-18 14:56:09 +010075source "board/emulation/qemu-xtensa/Kconfig"
Chris Zankel1387dab2016-08-10 18:36:44 +030076
77endmenu