summaryrefslogtreecommitdiff
path: root/power
diff options
context:
space:
mode:
authorAndrew McRae <amcrae@google.com>2022-07-04 10:58:34 +1000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-06 23:17:45 +0000
commit35f1cc1f598df4dabbb418535cb99b6b4fb9ff85 (patch)
treef0dfb79d9b6f49f45399e83fbe70f8839bbf0598 /power
parenta669fb296e5b2824f6f5ba404f1ecd9015c191cf (diff)
downloadchrome-ec-35f1cc1f598df4dabbb418535cb99b6b4fb9ff85.tar.gz
zephyr: Move AMD power signals to common include
Move AMD power signal definition from gpio_map.h to common include file. This impacts the skyrim project, but guybrush has not been modified since it appears it is no longer maintained. BUG=b:237725681 TEST=zmake testall BRANCH=none Signed-off-by: Andrew McRae <amcrae@google.com> Change-Id: Ifac429bc9a649de887ba759e9481b6f0cd81c271 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3742839 Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'power')
-rw-r--r--power/amd_x86.c1
-rw-r--r--power/common.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/power/amd_x86.c b/power/amd_x86.c
index 9b4300671d..3a407dfdf5 100644
--- a/power/amd_x86.c
+++ b/power/amd_x86.c
@@ -13,6 +13,7 @@
#include "hooks.h"
#include "lid_switch.h"
#include "lpc.h"
+#include "power/amd_x86.h"
#include "power.h"
#include "power_button.h"
#include "system.h"
diff --git a/power/common.c b/power/common.c
index 8b807f8364..256a60d0b1 100644
--- a/power/common.c
+++ b/power/common.c
@@ -18,6 +18,7 @@
#include "host_command.h"
#include "lpc.h"
#include "power.h"
+#include "power/amd_x86.h"
#include "power/intel_x86.h"
#include "power/qcom.h"
#include "system.h"