1comment "esp-hosted needs a Linux kernel to be built"
2	depends on !BR2_s390x
3	depends on !BR2_LINUX_KERNEL
4
5config BR2_PACKAGE_ESP_HOSTED
6	bool "esp-hosted"
7	depends on !BR2_s390x
8	depends on BR2_LINUX_KERNEL
9	help
10	  This package builds and installs the Linux kernel driver for
11	  the Esp32-* Linux Wi-Fi driver. It supports both SDIO and SPI
12	  busses that is selectable. It is compatible with recent Linux
13	  kernels (>= 5.4).
14
15if BR2_PACKAGE_ESP_HOSTED
16
17choice
18	prompt "HW interface"
19	default BR2_PACKAGE_ESP_HOSTED_SDIO
20	help
21	  Select which bus type esp is attached to
22
23config BR2_PACKAGE_ESP_HOSTED_SDIO
24	bool "SDIO"
25
26config BR2_PACKAGE_ESP_HOSTED_SPI
27	bool "SPI"
28
29endchoice
30
31choice
32	prompt "Target"
33	default BR2_PACKAGE_ESP_HOSTED_TARGET_ESP32
34	help
35	  Select which SoC Target driver is used for
36
37config BR2_PACKAGE_ESP_HOSTED_TARGET_ESP32
38	bool "ESP32"
39
40config BR2_PACKAGE_ESP_HOSTED_TARGET_ESP32C6
41	bool "ESP32C6"
42
43endchoice
44
45endif
46