summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zephyr/CMakeLists.txt1
-rw-r--r--zephyr/Kconfig.powerseq5
2 files changed, 4 insertions, 2 deletions
diff --git a/zephyr/CMakeLists.txt b/zephyr/CMakeLists.txt
index ddc260bc9f..e3c5780a4c 100644
--- a/zephyr/CMakeLists.txt
+++ b/zephyr/CMakeLists.txt
@@ -358,6 +358,7 @@ zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_POWERSEQ_HOST_SLEEP
"${PLATFORM_EC}/power/host_sleep.c")
zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_POWERSEQ_MT8186
"${PLATFORM_EC}/power/mt8186.c")
+# Re-use mt8186.c code
zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_POWERSEQ_MT8188
"${PLATFORM_EC}/power/mt8186.c")
zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_POWERSEQ_MT8192
diff --git a/zephyr/Kconfig.powerseq b/zephyr/Kconfig.powerseq
index 341657ef63..7865a6b8e2 100644
--- a/zephyr/Kconfig.powerseq
+++ b/zephyr/Kconfig.powerseq
@@ -218,11 +218,12 @@ config PLATFORM_EC_POWERSEQ_MT8186
Use the MT8186 code for power sequencing.
config PLATFORM_EC_POWERSEQ_MT8188
- bool "Use common MT8186 code for power sequencing"
+ bool "Use common MT8188 code for power sequencing"
default y
depends on AP_ARM_MTK_MT8188
help
- Use the MT8188 code for power sequencing.
+ Use the MT8188 code for power sequencing. Re-use MT8186 common
+ code.
config PLATFORM_EC_POWERSEQ_SC7180
bool "SC7180 power sequencing"