summaryrefslogtreecommitdiff
path: root/baseboard/hatch
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 /baseboard/hatch
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 'baseboard/hatch')
-rw-r--r--baseboard/hatch/baseboard.c26
-rw-r--r--baseboard/hatch/baseboard.h11
2 files changed, 0 insertions, 37 deletions
diff --git a/baseboard/hatch/baseboard.c b/baseboard/hatch/baseboard.c
index 2e9c23aa19..9ca4c836a5 100644
--- a/baseboard/hatch/baseboard.c
+++ b/baseboard/hatch/baseboard.c
@@ -76,32 +76,6 @@ const struct i2c_port_t i2c_ports[] = {
};
const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports);
-/* power signal list. */
-const struct power_signal_info power_signal_list[] = {
-
- [X86_SLP_S0_DEASSERTED] = {GPIO_SLP_S0_L,
- POWER_SIGNAL_ACTIVE_HIGH | POWER_SIGNAL_DISABLE_AT_BOOT,
- "SLP_S0_DEASSERTED"},
-#ifdef CONFIG_HOSTCMD_ESPI_VW_SIGNALS
- [X86_SLP_S3_DEASSERTED] = {VW_SLP_S3_L, POWER_SIGNAL_ACTIVE_HIGH,
- "SLP_S3_DEASSERTED"},
- [X86_SLP_S4_DEASSERTED] = {VW_SLP_S4_L, POWER_SIGNAL_ACTIVE_HIGH,
- "SLP_S4_DEASSERTED"},
-#else
- [X86_SLP_S3_DEASSERTED] = {GPIO_SLP_S3_L, POWER_SIGNAL_ACTIVE_HIGH,
- "SLP_S3_DEASSERTED"},
- [X86_SLP_S4_DEASSERTED] = {GPIO_SLP_S4_L, POWER_SIGNAL_ACTIVE_HIGH,
- "SLP_S4_DEASSERTED"},
-#endif
- [X86_RSMRST_L_PGOOD] = {GPIO_PG_EC_RSMRST_L, POWER_SIGNAL_ACTIVE_HIGH,
- "RSMRST_L_PGOOD"},
- [PP5000_A_PGOOD] = {GPIO_PP5000_A_PG_OD, POWER_SIGNAL_ACTIVE_HIGH,
- "PP5000_A_PGOOD"},
- [ALL_SYS_PGOOD] = {GPIO_PG_EC_ALL_SYS_PWRGD, POWER_SIGNAL_ACTIVE_HIGH,
- "ALL_SYS_PWRGD"}
-};
-BUILD_ASSERT(ARRAY_SIZE(power_signal_list) == POWER_SIGNAL_COUNT);
-
/******************************************************************************/
/* Chipset callbacks/hooks */
diff --git a/baseboard/hatch/baseboard.h b/baseboard/hatch/baseboard.h
index a3e22171a1..706e1fe5d8 100644
--- a/baseboard/hatch/baseboard.h
+++ b/baseboard/hatch/baseboard.h
@@ -162,17 +162,6 @@
#ifndef __ASSEMBLER__
-enum power_signal {
- X86_SLP_S0_DEASSERTED,
- X86_SLP_S3_DEASSERTED,
- X86_SLP_S4_DEASSERTED,
- X86_RSMRST_L_PGOOD,
- PP5000_A_PGOOD,
- ALL_SYS_PGOOD,
- /* Number of X86 signals */
- POWER_SIGNAL_COUNT
-};
-
enum mst_source {
MST_TYPE_C0,
MST_TYPE_C1,