summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2021-09-17 13:54:34 -0600
committerCommit Bot <commit-bot@chromium.org>2021-09-17 23:51:13 +0000
commit59667f5544e997bd248e089048a0740ae7aecfd5 (patch)
treefb5d0ebfe4b9112bd079744b20c6f5358c1c1bfc
parent09bb5e3659aa2802669e9504947175832069daf7 (diff)
downloadchrome-ec-59667f5544e997bd248e089048a0740ae7aecfd5.tar.gz
zephyr: kconfig: Add options for AMD power sequencing
Add config options for AMD power sequencing and wire up to guybrush. Note this doesn't toggle any more code to compile yet. BUG=b:195137794 BRANCH=none TEST=compile for guybrush Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: Ifd17c6eec05335079bd52955c37f37407501e270 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3169565 Reviewed-by: Diana Z <dzigterman@chromium.org>
-rw-r--r--zephyr/app/ec/soc/Kconfig12
-rw-r--r--zephyr/projects/guybrush/prj.conf3
2 files changed, 8 insertions, 7 deletions
diff --git a/zephyr/app/ec/soc/Kconfig b/zephyr/app/ec/soc/Kconfig
index a77d7fda5a..d7befb39b7 100644
--- a/zephyr/app/ec/soc/Kconfig
+++ b/zephyr/app/ec/soc/Kconfig
@@ -28,6 +28,12 @@ config AP_X86_INTEL_ADL
help
The application processor is Intel Alder Lake (ADL) chipset.
+config AP_X86_AMD
+ bool "AP is an AMD chipset"
+ select AP_x86
+ help
+ The application processor is a product of AMD.
+
config AP_ARM_MTK_MT8192
bool "MediaTek MT8192"
select AP_AARCH64
@@ -57,12 +63,6 @@ config AP_X86_INTEL
help
The application processor (AP) is an Intel SoC.
-config AP_X86_AMD
- bool
- select AP_X86
- help
- The application processor (AP) is an AMD SoC.
-
config AP_X86
bool
help
diff --git a/zephyr/projects/guybrush/prj.conf b/zephyr/projects/guybrush/prj.conf
index ef049bcc15..e6962fd1ce 100644
--- a/zephyr/projects/guybrush/prj.conf
+++ b/zephyr/projects/guybrush/prj.conf
@@ -9,7 +9,8 @@ CONFIG_SHIMMED_TASKS=y
CONFIG_PLATFORM_EC_VBOOT_EFS2=n
# Power sequencing
-CONFIG_AP=n
+CONFIG_AP=y
+CONFIG_AP_X86_AMD=y
# Power button
CONFIG_PLATFORM_EC_POWER_BUTTON=y