1# Configuration options for eSPI emulators
2
3# Copyright 2020 Google LLC
4# SPDX-License-Identifier: Apache-2.0
5
6config EMUL_ESPI_HOST
7	bool "Emulate an eSPI host"
8	help
9	  This is an emulator of the generic eSPI host. The emulator supports basic host operations
10	  - virtual wires and writing to port 80. It can be extended. Note: Because this emulator is
11	  not tied to a particular DT node, it does not make use of the DT_HAS_<compat>_ENABLED
12	  macro.
13
14if EMUL_ESPI_HOST
15
16config EMUL_ESPI_HOST_ACPI_SHM_REGION_SIZE
17	int "Host I/O peripheral port size for shared memory in emulator"
18	depends on ESPI_PERIPHERAL_ACPI_SHM_REGION
19	default 256
20	help
21	  This is the port size used to mimic the Host and EC communication
22	  over the shared memory region which returns the ACPI response data.
23
24endif # EMUL_ESPI_HOST
25