diff options
author | Yuval Peress <peress@chromium.org> | 2021-09-08 00:25:50 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-10 17:48:12 +0000 |
commit | 316b2b4456aa78d986b675dabe547b73c59a7097 (patch) | |
tree | e17a852dbeebb05fb06355573b6551791db97569 /zephyr/drivers/cros_system/cros_system_npcx.c | |
parent | ca19275b9e9b86056783525bda71f610d798bd2b (diff) | |
download | chrome-ec-316b2b4456aa78d986b675dabe547b73c59a7097.tar.gz |
zephyr: driver: bbram: Migrate to upstream driver
Migrate the BBRAM driver to the upstream version.
BRANCH=none
BUG=b:195843756
TEST=zmake testall
Cq-Depend: chromium:3147080
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: I441e58f94c4874e268aad36df2f036a88187801b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3147230
Tested-by: Yuval Peress <peress@google.com>
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Yuval Peress <peress@google.com>
Diffstat (limited to 'zephyr/drivers/cros_system/cros_system_npcx.c')
-rw-r--r-- | zephyr/drivers/cros_system/cros_system_npcx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/drivers/cros_system/cros_system_npcx.c b/zephyr/drivers/cros_system/cros_system_npcx.c index 80c663020f..e3d3bc29b2 100644 --- a/zephyr/drivers/cros_system/cros_system_npcx.c +++ b/zephyr/drivers/cros_system/cros_system_npcx.c @@ -77,7 +77,7 @@ struct cros_system_npcx_data { /* Get saved reset flag address in battery-backed ram */ #define BBRAM_SAVED_RESET_FLAG_ADDR \ - (DT_REG_ADDR(DT_INST(0, nuvoton_npcx_cros_bbram)) + \ + (DT_REG_ADDR(DT_INST(0, nuvoton_npcx_bbram)) + \ DT_PROP(DT_PATH(named_bbram_regions, saved_reset_flags), offset)) /* Soc specific system local functions */ |