diff options
author | Wai-Hong Tam <waihong@google.com> | 2021-05-12 12:17:43 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-05-17 17:24:30 +0000 |
commit | 6e3cca09b86a8f8f6881563071e067f0440f99a6 (patch) | |
tree | 7808e1989964e904830113b444bad8125ab76d78 /power | |
parent | fa2f648597c0afb2644514b9c6b8af0e52987c25 (diff) | |
download | chrome-ec-6e3cca09b86a8f8f6881563071e067f0440f99a6.tar.gz |
qcom: Generalize the filenames for Qualcomm chipsets
The existing SC7180 power sequence can be reused on its next generation.
Generalize the filenames, sc7180.c/sc7180.h to qcom.c/qcom.h.
BRANCH=None
BUG=b:187980397
TEST=Built all the Chromium EC images and Zephyr EC images.
Change-Id: Ie04218ef0a12a4e8aa2db353040c5c39c533ae6f
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2893484
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Alexandru M Stan <amstan@chromium.org>
Diffstat (limited to 'power')
-rw-r--r-- | power/build.mk | 2 | ||||
-rw-r--r-- | power/common.c | 2 | ||||
-rw-r--r-- | power/qcom.c (renamed from power/sc7180.c) | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/power/build.mk b/power/build.mk index 3dcd387d29..86f4b8bc40 100644 --- a/power/build.mk +++ b/power/build.mk @@ -21,7 +21,7 @@ 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_SC7180)+=qcom.o power-$(CONFIG_CHIPSET_SDM845)+=sdm845.o power-$(CONFIG_CHIPSET_SKYLAKE)+=skylake.o intel_x86.o power-$(CONFIG_CHIPSET_STONEY)+=amd_x86.o diff --git a/power/common.c b/power/common.c index e4f4027ade..7fc6a8cfb3 100644 --- a/power/common.c +++ b/power/common.c @@ -19,7 +19,7 @@ #include "lpc.h" #include "power.h" #include "power/intel_x86.h" -#include "power/sc7180.h" +#include "power/qcom.h" #include "system.h" #include "task.h" #include "timer.h" diff --git a/power/sc7180.c b/power/qcom.c index 81892c2894..5484f48f26 100644 --- a/power/sc7180.c +++ b/power/qcom.c @@ -29,7 +29,7 @@ #include "hooks.h" #include "lid_switch.h" #include "power.h" -#include "power/sc7180.h" +#include "power/qcom.h" #include "power_button.h" #include "system.h" #include "task.h" |