blob: 70eebb4bd22fbc9901a0659b1c910577e217f372 [file] [log] [blame]
Chris Zankelc978b522016-08-10 18:36:44 +03001menu "Xtensa architecture"
2 depends on XTENSA
3
4config SYS_ARCH
5 string
6 default "xtensa"
7
8config SYS_CPU
9 string "Xtensa Core Variant"
10
11choice
12 prompt "Target select"
13
Chris Zankel7e270ec2016-08-10 18:36:48 +030014config TARGET_XTFPGA
15 bool "Support XTFPGA"
Tom Rini6d21dd32022-02-25 11:19:47 -050016 select BOARD_POSTCLK_INIT
Chris Zankelc978b522016-08-10 18:36:44 +030017
Jiaxun Yang206ad6c2024-06-18 14:56:09 +010018config TARGET_QEMU_XTENSA
19 bool "Support QEMU Xtensa Virt Board"
20 select BOARD_LATE_INIT
21
Chris Zankelc978b522016-08-10 18:36:44 +030022endchoice
23
Trevor Woernera0aba8a2019-05-03 09:40:59 -040024config SYS_ICACHE_OFF
25 bool "Do not enable icache"
Trevor Woernera0aba8a2019-05-03 09:40:59 -040026 help
27 Do not enable instruction cache in U-Boot.
28
Trevor Woerner10015022019-05-03 09:41:00 -040029config SPL_SYS_ICACHE_OFF
30 bool "Do not enable icache in SPL"
31 depends on SPL
32 default SYS_ICACHE_OFF
33 help
34 Do not enable instruction cache in SPL.
35
Trevor Woernera0aba8a2019-05-03 09:40:59 -040036config SYS_DCACHE_OFF
37 bool "Do not enable dcache"
Trevor Woernera0aba8a2019-05-03 09:40:59 -040038 help
39 Do not enable data cache in U-Boot.
40
Trevor Woerner10015022019-05-03 09:41:00 -040041config SPL_SYS_DCACHE_OFF
42 bool "Do not enable dcache in SPL"
43 depends on SPL
44 default SYS_DCACHE_OFF
45 help
46 Do not enable data cache in SPL.
47
Jiaxun Yangbd642752024-06-18 14:56:05 +010048config XTENSA_SEMIHOSTING
49 bool "Support semihosting"
50 help
51 Enable Xtensa semihosting debugging support.
52
53choice
54 prompt "Semihosting interface"
55 default XTENSA_SIMCALL_ISS
56 depends on XTENSA_SEMIHOSTING
57 help
58 Choose semihosting interface that will be used for serial port,
59 block device and networking.
60
61config XTENSA_SIMCALL_ISS
62 bool "simcall"
63 help
64 Use simcall instruction. simcall is only available on simulators,
65 it does nothing on hardware.
66
67config XTENSA_SIMCALL_GDBIO
68 bool "GDBIO"
69 help
70 Use break instruction. It is available on real hardware when GDB
71 is attached to it via JTAG.
72
73endchoice
74
Chris Zankel7e270ec2016-08-10 18:36:48 +030075source "board/cadence/xtfpga/Kconfig"
Jiaxun Yang206ad6c2024-06-18 14:56:09 +010076source "board/emulation/qemu-xtensa/Kconfig"
Chris Zankelc978b522016-08-10 18:36:44 +030077
78endmenu