summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zephyr/Kconfig26
-rw-r--r--zephyr/Kconfig.espi28
2 files changed, 29 insertions, 25 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig
index 7050a5d951..feda93be89 100644
--- a/zephyr/Kconfig
+++ b/zephyr/Kconfig
@@ -38,6 +38,7 @@ rsource "Kconfig.board_version"
rsource "Kconfig.console"
rsource "Kconfig.console_cmd_mem"
rsource "Kconfig.debug_assert"
+rsource "Kconfig.espi"
rsource "Kconfig.header"
rsource "Kconfig.keyboard"
rsource "Kconfig.led"
@@ -220,31 +221,6 @@ menuconfig PLATFORM_EC_ESPI
https://www.intel.com/content/dam/support/us/en/documents/software/chipset-software/327432-004_espi_base_specification_rev1.0_cb.pdf
-if PLATFORM_EC_ESPI
-
-config PLATFORM_EC_ESPI_VW_SLP_S3
- bool "SLP_S3 is an eSPI virtual wire instead of a GPIO"
- help
- For power sequencing, use an eSPI virtual wire instead of
- defining GPIO_PCH_SLP_S3 in gpio_map.h.
-
-config PLATFORM_EC_ESPI_VW_SLP_S4
- bool "SLP_S4 is an eSPI virtual wire instead of a GPIO"
- help
- For power sequencing, use an eSPI virtual wire instead of
- defining GPIO_PCH_SLP_S4 in gpio_map.h.
-
-config PLATFORM_EC_ESPI_RESET_SLP_SX_VW_ON_ESPI_RST
- bool "Reset SLP VW signals on eSPI reset"
- help
- Enable this config to reset SLP* VW when eSPI_RST is asserted
- for the Global Reset event case. Don't enable this config if
- the platform implements the Deep-Sx entry as EC needs to
- maintain these pins' states per request. Note that this is
- currently unimplemented for Zephyr. Please see b/183148073.
-
-endif # PLATFORM_EC_ESPI
-
config PLATFORM_EC_EXTPOWER_GPIO
bool "GPIO-based external power detection"
depends on PLATFORM_EC_HOOKS && PLATFORM_EC_HOSTCMD
diff --git a/zephyr/Kconfig.espi b/zephyr/Kconfig.espi
new file mode 100644
index 0000000000..81b9f11e57
--- /dev/null
+++ b/zephyr/Kconfig.espi
@@ -0,0 +1,28 @@
+# Copyright 2021 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+if PLATFORM_EC_ESPI
+
+config PLATFORM_EC_ESPI_VW_SLP_S3
+ bool "SLP_S3 is an eSPI virtual wire instead of a GPIO"
+ help
+ For power sequencing, use an eSPI virtual wire instead of
+ defining GPIO_PCH_SLP_S3 in gpio_map.h.
+
+config PLATFORM_EC_ESPI_VW_SLP_S4
+ bool "SLP_S4 is an eSPI virtual wire instead of a GPIO"
+ help
+ For power sequencing, use an eSPI virtual wire instead of
+ defining GPIO_PCH_SLP_S4 in gpio_map.h.
+
+config PLATFORM_EC_ESPI_RESET_SLP_SX_VW_ON_ESPI_RST
+ bool "Reset SLP VW signals on eSPI reset"
+ help
+ Enable this config to reset SLP* VW when eSPI_RST is asserted
+ for the Global Reset event case. Don't enable this config if
+ the platform implements the Deep-Sx entry as EC needs to
+ maintain these pins' states per request. Note that this is
+ currently unimplemented for Zephyr. Please see b/183148073.
+
+endif # PLATFORM_EC_ESPI \ No newline at end of file