summaryrefslogtreecommitdiff
path: root/include/power/intel_x86.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/power/intel_x86.h')
-rw-r--r--include/power/intel_x86.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/power/intel_x86.h b/include/power/intel_x86.h
index 45f4a67786..9001cf8d49 100644
--- a/include/power/intel_x86.h
+++ b/include/power/intel_x86.h
@@ -1,11 +1,10 @@
-/* Copyright 2016 The Chromium OS Authors. All rights reserved.
+/* Copyright 2016 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* Intel X86 chipset power control module for Chrome EC */
-
#ifndef __CROS_EC_INTEL_X86_H
#define __CROS_EC_INTEL_X86_H
@@ -33,12 +32,12 @@
#endif
/* GPIO for power signal */
-#ifdef CONFIG_HOSTCMD_ESPI_VW_SLP_S3
+#ifdef CONFIG_HOST_INTERFACE_ESPI_VW_SLP_S3
#define SLP_S3_SIGNAL_L VW_SLP_S3_L
#else
#define SLP_S3_SIGNAL_L GPIO_PCH_SLP_S3_L
#endif
-#ifdef CONFIG_HOSTCMD_ESPI_VW_SLP_S4
+#ifdef CONFIG_HOST_INTERFACE_ESPI_VW_SLP_S4
#define SLP_S4_SIGNAL_L VW_SLP_S4_L
#else
#define SLP_S4_SIGNAL_L GPIO_PCH_SLP_S4_L
@@ -49,7 +48,7 @@
* use SLP_S4's GPIO as a proxy for SLP_S5. This matches old behavior and
* effectively prevents S4 residency.
*/
-#ifdef CONFIG_HOSTCMD_ESPI_VW_SLP_S5
+#ifdef CONFIG_HOST_INTERFACE_ESPI_VW_SLP_S5
#define SLP_S5_SIGNAL_L VW_SLP_S5_L
#else
#define SLP_S5_SIGNAL_L SLP_S4_SIGNAL_L