diff options
author | Yuval Peress <peress@chromium.org> | 2021-02-02 13:09:24 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-02-05 20:16:06 +0000 |
commit | c479096edd777fb3c006992fcbea9d8628c6a75e (patch) | |
tree | 3a40c244d55c4f9e45730f845a254a8c590aebcf /zephyr/projects/kohaku | |
parent | 5925c1c63f1be19ffc3ec91a9d6c11761f02dcad (diff) | |
download | chrome-ec-c479096edd777fb3c006992fcbea9d8628c6a75e.tar.gz |
zephyr: Move bbram logic to devicetree
Move all bbram logic to a common npcx.dtsi file included in
both volteer and kohaku. Updates the bbram access logic in
zephyr/shim/src/system.c to use devicetree. Updates the unit
tests to match.
BRANCH=none
BUG=b:178807203
TEST=zmake testall
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: I2a7c65b92a395c622e8cfe751e4e98b3173e38fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2669271
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'zephyr/projects/kohaku')
-rw-r--r-- | zephyr/projects/kohaku/boards/arm/kohaku/kohaku.dts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/projects/kohaku/boards/arm/kohaku/kohaku.dts b/zephyr/projects/kohaku/boards/arm/kohaku/kohaku.dts index 6d301ecbaa..0a61c8e3ad 100644 --- a/zephyr/projects/kohaku/boards/arm/kohaku/kohaku.dts +++ b/zephyr/projects/kohaku/boards/arm/kohaku/kohaku.dts @@ -5,6 +5,7 @@ /dts-v1/; +#include <cros/nuvoton/npcx.dtsi> #include <dt-bindings/gpio_defines.h> #include <nuvoton/npcx7m6fb.dtsi> |