2020-12-16 22:08:59 +08:00
|
|
|
# Configuration options for eSPI emulators
|
|
|
|
|
|
|
|
# Copyright 2020 Google LLC
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config EMUL_ESPI_HOST
|
|
|
|
bool "Emulate an eSPI host"
|
|
|
|
help
|
2023-04-15 05:38:56 +08:00
|
|
|
This is an emulator of the generic eSPI host. The emulator supports basic host operations
|
|
|
|
- virtual wires and writing to port 80. It can be extended. Note: Because this emulator is
|
|
|
|
not tied to a particular DT node, it does not make use of the DT_HAS_<compat>_ENABLED
|
|
|
|
macro.
|
2021-07-29 11:40:13 +08:00
|
|
|
|
|
|
|
if EMUL_ESPI_HOST
|
|
|
|
|
|
|
|
config EMUL_ESPI_HOST_ACPI_SHM_REGION_SIZE
|
|
|
|
int "Host I/O peripheral port size for shared memory in emulator"
|
|
|
|
depends on ESPI_PERIPHERAL_ACPI_SHM_REGION
|
|
|
|
default 256
|
|
|
|
help
|
|
|
|
This is the port size used to mimic the Host and EC communication
|
|
|
|
over the shared memory region which returns the ACPI response data.
|
|
|
|
|
|
|
|
endif # EMUL_ESPI_HOST
|