summaryrefslogtreecommitdiff
path: root/board/poppy
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2019-05-30 16:25:15 -0700
committerCommit Bot <commit-bot@chromium.org>2019-06-13 23:02:44 +0000
commit8ca44cb4eca69d44e9fce0b93b58be9c7d9d19f3 (patch)
tree4913ea0403d24fc4574bfa2941ee4de7e28a000c /board/poppy
parent037eb91f65510d2949289f837c716b7fa997746f (diff)
downloadchrome-ec-8ca44cb4eca69d44e9fce0b93b58be9c7d9d19f3.tar.gz
intel_x86/power: Consolidate chipset specific power signals array
Currently chipset specific power signals are defined at board/baseboard level. These power signals are moved to chipset specific file to minimize the redundant power signals array defined for each board/baseboard. BUG=b:134079574 BRANCH=none TEST=make buildall -j Change-Id: I351904f7cd2e0f27844c0711beb118d390219581 Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1636837 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/poppy')
-rw-r--r--board/poppy/board.c20
-rw-r--r--board/poppy/board.h12
2 files changed, 0 insertions, 32 deletions
diff --git a/board/poppy/board.c b/board/poppy/board.c
index 3c27da46ba..cc26a6206d 100644
--- a/board/poppy/board.c
+++ b/board/poppy/board.c
@@ -144,26 +144,6 @@ void anx74xx_cable_det_interrupt(enum gpio_signal signal)
#include "gpio_list.h"
-/* power signal list. Must match order of enum power_signal. */
-const struct power_signal_info power_signal_list[] = {
-#ifdef CONFIG_POWER_S0IX
- {GPIO_PCH_SLP_S0_L,
- POWER_SIGNAL_ACTIVE_HIGH | POWER_SIGNAL_DISABLE_AT_BOOT,
- "SLP_S0_DEASSERTED"},
-#endif
-#ifdef CONFIG_HOSTCMD_ESPI_VW_SLP_SIGNALS
- {VW_SLP_S3_L, POWER_SIGNAL_ACTIVE_HIGH, "SLP_S3_DEASSERTED"},
- {VW_SLP_S4_L, POWER_SIGNAL_ACTIVE_HIGH, "SLP_S4_DEASSERTED"},
-#else
- {GPIO_PCH_SLP_S3_L, POWER_SIGNAL_ACTIVE_HIGH, "SLP_S3_DEASSERTED"},
- {GPIO_PCH_SLP_S4_L, POWER_SIGNAL_ACTIVE_HIGH, "SLP_S4_DEASSERTED"},
-#endif
- {GPIO_PCH_SLP_SUS_L, POWER_SIGNAL_ACTIVE_HIGH, "SLP_SUS_DEASSERTED"},
- {GPIO_RSMRST_L_PGOOD, POWER_SIGNAL_ACTIVE_HIGH, "RSMRST_L_PGOOD"},
- {GPIO_PMIC_DPWROK, POWER_SIGNAL_ACTIVE_HIGH, "PMIC_DPWROK"},
-};
-BUILD_ASSERT(ARRAY_SIZE(power_signal_list) == POWER_SIGNAL_COUNT);
-
/* Hibernate wake configuration */
const enum gpio_signal hibernate_wake_pins[] = {
GPIO_AC_PRESENT,
diff --git a/board/poppy/board.h b/board/poppy/board.h
index 87262ca4b6..39e0f1796f 100644
--- a/board/poppy/board.h
+++ b/board/poppy/board.h
@@ -200,18 +200,6 @@
#include "gpio_signal.h"
#include "registers.h"
-enum power_signal {
-#ifdef CONFIG_POWER_S0IX
- X86_SLP_S0_DEASSERTED,
-#endif
- X86_SLP_S3_DEASSERTED,
- X86_SLP_S4_DEASSERTED,
- X86_SLP_SUS_DEASSERTED,
- X86_RSMRST_L_PGOOD,
- X86_PMIC_DPWROK,
- POWER_SIGNAL_COUNT
-};
-
enum temp_sensor_id {
TEMP_SENSOR_BATTERY, /* BD99956GW TSENSE */
TEMP_SENSOR_AMBIENT, /* BD99992GW SYSTHERM0 */