summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWealian Liao <whliao@nuvoton.corp-partner.google.com>2021-06-17 18:18:10 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-28 18:37:34 +0000
commitdd2e769938223069db7e93406a5ca47cd3203277 (patch)
treef9a37b8d6381fcb6904e56fb4cb6dec87ab0142f
parent4cbf0f3a6cadcb47466f4c05542190d0561fc5d9 (diff)
downloadchrome-ec-dd2e769938223069db7e93406a5ca47cd3203277.tar.gz
zephyr: npcx_evb: Enable PLATFORM_EC_HOSTCMD
Enable host command suppor for npcx7/9_evb. PLATFORM_EC_HOSTCMD default 'y' if CONFIG_AP is enabled. This CL remove `CONFIG_AP=n` to enable host command. This only enables the host command common code, which can currently compile for the following CLs. BUG=none BRANCH=none TEST=Saw 'hostcmd init' on console when ec boot. TEST=Get HOSTCMD task by 'kernel threads' shell command. Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com> Change-Id: Ic673efa6ffb9805d8c8fb5fee1cfa82c775e83f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3058713 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
-rw-r--r--zephyr/projects/npcx_evb/npcx7/prj.conf3
-rw-r--r--zephyr/projects/npcx_evb/npcx9/prj.conf3
2 files changed, 4 insertions, 2 deletions
diff --git a/zephyr/projects/npcx_evb/npcx7/prj.conf b/zephyr/projects/npcx_evb/npcx7/prj.conf
index 8f9ac7f8c0..74ad3e6e4f 100644
--- a/zephyr/projects/npcx_evb/npcx7/prj.conf
+++ b/zephyr/projects/npcx_evb/npcx7/prj.conf
@@ -9,10 +9,11 @@ CONFIG_SHIMMED_TASKS=y
CONFIG_CROS_KB_RAW_NPCX=n
-CONFIG_AP=n
CONFIG_PLATFORM_EC_ADC=n
+CONFIG_PLATFORM_EC_BACKLIGHT_LID=n
CONFIG_PLATFORM_EC_I2C=n
CONFIG_PLATFORM_EC_KEYBOARD=n
+CONFIG_PLATFORM_EC_SWITCH=n
CONFIG_PLATFORM_EC_VBOOT=n
CONFIG_PLATFORM_EC_VSTORE=n
diff --git a/zephyr/projects/npcx_evb/npcx9/prj.conf b/zephyr/projects/npcx_evb/npcx9/prj.conf
index 6039ac597b..7be8dfacea 100644
--- a/zephyr/projects/npcx_evb/npcx9/prj.conf
+++ b/zephyr/projects/npcx_evb/npcx9/prj.conf
@@ -9,10 +9,11 @@ CONFIG_SHIMMED_TASKS=y
CONFIG_CROS_KB_RAW_NPCX=n
-CONFIG_AP=n
CONFIG_PLATFORM_EC_ADC=n
+CONFIG_PLATFORM_EC_BACKLIGHT_LID=n
CONFIG_PLATFORM_EC_I2C=n
CONFIG_PLATFORM_EC_KEYBOARD=n
+CONFIG_PLATFORM_EC_SWITCH=n
CONFIG_PLATFORM_EC_VBOOT=n
CONFIG_PLATFORM_EC_VSTORE=n