zephyr/drivers/bbram/Kconfig.bbram_emul
Yuval Peress cbe4803812 drivers: bbram: fix npcx driver and update Kconfig defaults
There was a typo that snuck into the bbram driver for npcx.
Fix the driver and update the Kconfig to automatically include the
driver if the compatible string exists in the dts. This ensures that
the driver is built when building the npcx evbs.

Signed-off-by: Yuval Peress <peress@chromium.org>
2021-08-30 11:35:23 -04:00

11 lines
293 B
Plaintext

# Copyright (c) 2021 Google Inc
# SPDX-License-Identifier: Apache-2.0
DT_COMPAT_ST_BBRAM_EMUL := zephyr,bbram-emul
config BBRAM_EMUL
bool "Battery-backed RAM emulated drivers"
default $(dt_compat_enabled,${DT_COMPAT_ST_BBRAM_EMUL})
help
This option enables the BBRAM emulation driver.