summaryrefslogtreecommitdiff
path: root/power/intel_x86.c
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2018-03-19 15:27:27 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-03-20 14:38:42 -0700
commit50da99d5d4587ac5f11bc820e42d396d73a93f6c (patch)
tree778c428f7dd550cd33d6a0791f8f4eacf51f21c4 /power/intel_x86.c
parentb5fddbbe26ed27f1ade7d89e6acbeebaf15b315e (diff)
downloadchrome-ec-50da99d5d4587ac5f11bc820e42d396d73a93f6c.tar.gz
power: create CONFIG_CHIPSET_GEMINILAKE
Geminilake uses the same power sequencing code as Apollolake. Instead of the board specifying the wrong chipset, we will make the correct chipset reuse the existing power code. This also gives us flexibility in the future if GLK needs to vary from ALK in any of shared code. BRANCH=none BUG=b:74020444 TEST=build all Change-Id: Icd00286ac4f0612d1bda56677c4141957480c6bf Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/969613 Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'power/intel_x86.c')
-rw-r--r--power/intel_x86.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/power/intel_x86.c b/power/intel_x86.c
index a1626d9b5c..2e983c514c 100644
--- a/power/intel_x86.c
+++ b/power/intel_x86.c
@@ -24,7 +24,8 @@
#include "wireless.h"
/* Chipset specific header files */
-#ifdef CONFIG_CHIPSET_APOLLOLAKE
+/* Geminilake and apollolake use same power sequencing. */
+#ifdef CONFIG_CHIPSET_APL_GLK
#include "apollolake.h"
#elif defined(CONFIG_CHIPSET_CANNONLAKE)
#include "cannonlake.h"
@@ -451,7 +452,7 @@ void common_intel_x86_handle_rsmrst(enum power_state state)
board_before_rsmrst(rsmrst_in);
#endif
-#ifdef CONFIG_CHIPSET_APOLLOLAKE
+#ifdef CONFIG_CHIPSET_APL_GLK
/* Only passthrough RSMRST_L de-assertion on power up */
if (rsmrst_in && !power_s5_up)
return;