zephyr/drivers/bbram/Kconfig
Yuval Peress 268f9bf163 nuvoton: battery-backed ram
Add bindings and entry for the battery-backed ram in the nuvoton
npcx. This commit is an upstream port of
https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform/ec/zephyr/dts/bindings/cros_bbram/nuvoton,npcx-cros-bbram.yaml;l=1;drc=e9af813c36b7b411bf2a01cbc1b09d5fdec49b8a

Along with a bit of cleaning up and an emulator.

Signed-off-by: Yuval Peress <peress@chromium.org>
2021-08-07 20:32:33 -04:00

26 lines
487 B
Plaintext

# Copyright (c) 2021 Google Inc
# SPDX-License-Identifier: Apache-2.0
menuconfig BBRAM
bool "Battery-backed RAM drivers"
help
Enable BBRAM (battery-backed RAM) driver configuration.
if BBRAM
module = BBRAM
module-str = bbram
source "subsys/logging/Kconfig.template.log_config"
config BBRAM_INIT_PRIORITY
int "Init priority"
default 10
help
BBRAM driver initialization priority
source "drivers/bbram/Kconfig.npcx"
source "drivers/bbram/Kconfig.bbram_emul"
endif # BBRAM