summaryrefslogtreecommitdiff
path: root/zephyr/projects/brya
diff options
context:
space:
mode:
authorJun Lin <CHLin56@nuvoton.com>2022-05-12 15:54:31 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-05-17 07:18:27 +0000
commit61183ad5910c320e4464557b16aea2ea80a1d7df (patch)
tree2b3e6edd237dff347527ebb13d6e510b0feb6676 /zephyr/projects/brya
parent2d146ce62aa961bed30a14b67da9866b268f8888 (diff)
downloadchrome-ec-61183ad5910c320e4464557b16aea2ea80a1d7df.tar.gz
zephyr: board/arm/npcx9: support multiple chip variants
This commits allows a Zephyr project to select the board with different NPCX9 variants. BRANCH=none BUG=b:217436680 TEST=pass "zmake testall --clobber" TEST=repleace "npcx9m3f" with "npcx9m7f" in zephyr/projects/nissa/BUILD.py;"zmake build nivviks --clobber"; check chip variant change to npcx9m7f in build/zephyr/nivviks. Signed-off-by: Jun Lin <CHLin56@nuvoton.com> Change-Id: I2c6f71a96b508277adde9e3547d41b761cc8e211 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3640833 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Tested-by: CH Lin <chlin56@nuvoton.com> Commit-Queue: CH Lin <chlin56@nuvoton.com>
Diffstat (limited to 'zephyr/projects/brya')
-rw-r--r--zephyr/projects/brya/BUILD.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/projects/brya/BUILD.py b/zephyr/projects/brya/BUILD.py
index ead03c459f..2be6734188 100644
--- a/zephyr/projects/brya/BUILD.py
+++ b/zephyr/projects/brya/BUILD.py
@@ -9,7 +9,7 @@ def register_npcx9_variant(project_name, extra_dts_overlays=(), extra_kconfig_fi
"""Register a variant of a brya, even though this is not named as such."""
return register_npcx_project(
project_name=project_name,
- zephyr_board="npcx9",
+ zephyr_board="npcx9m3f",
dts_overlays=[
"adc.dts",
"battery.dts",