summaryrefslogtreecommitdiff
path: root/power
diff options
context:
space:
mode:
authorRob Barnes <robbarnes@google.com>2021-02-09 07:41:36 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-10 18:03:54 +0000
commitd91a433c715099dc2bf7a2f5e9155fcfec69ef16 (patch)
tree3fed18cfa48f929a163638dd7569a72749ef829f /power
parent323a9788a25afe73ca646ef14824ca22711c506a (diff)
downloadchrome-ec-d91a433c715099dc2bf7a2f5e9155fcfec69ef16.tar.gz
power: Rename stoney.c to amd_x86.c
Rename stoney.c to amd_x86.c since it covers all currently supported AMD chipsets. Add CHIPSET_CEZANNE to guard any differences between STONEY and CEZANNE chipsets. BUG=b:175234270 BRANCH=None TEST=Build for zork and guybrush Signed-off-by: Rob Barnes <robbarnes@google.com> Change-Id: I96f82127729d64970b8d46fc8ef4ddba6489dd8a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2683923 Reviewed-by: Edward Hill <ecgh@chromium.org> Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'power')
-rw-r--r--power/amd_x86.c (renamed from power/stoney.c)2
-rw-r--r--power/build.mk3
2 files changed, 3 insertions, 2 deletions
diff --git a/power/stoney.c b/power/amd_x86.c
index a889cc9102..7924d6f361 100644
--- a/power/stoney.c
+++ b/power/amd_x86.c
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* Stoney power sequencing module for Chrome EC */
+/* AMD x86 power sequencing module for Chrome EC */
#include "chipset.h"
#include "common.h"
diff --git a/power/build.mk b/power/build.mk
index a278c8d32b..3dcd387d29 100644
--- a/power/build.mk
+++ b/power/build.mk
@@ -18,11 +18,12 @@ power-$(CONFIG_CHIPSET_ICELAKE)+=icelake.o intel_x86.o
power-$(CONFIG_CHIPSET_MT817X)+=mt817x.o
power-$(CONFIG_CHIPSET_MT8183)+=mt8183.o
power-$(CONFIG_CHIPSET_MT8192)+=mt8192.o
+power-$(CONFIG_CHIPSET_CEZANNE)+=amd_x86.o
power-$(CONFIG_CHIPSET_RK3288)+=rk3288.o
power-$(CONFIG_CHIPSET_RK3399)+=rk3399.o
power-$(CONFIG_CHIPSET_SC7180)+=sc7180.o
power-$(CONFIG_CHIPSET_SDM845)+=sdm845.o
power-$(CONFIG_CHIPSET_SKYLAKE)+=skylake.o intel_x86.o
-power-$(CONFIG_CHIPSET_STONEY)+=stoney.o
+power-$(CONFIG_CHIPSET_STONEY)+=amd_x86.o
power-$(CONFIG_POWER_COMMON)+=common.o
power-$(CONFIG_POWER_TRACK_HOST_SLEEP_STATE)+=host_sleep.o