cbe4803812
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>
12 lines
371 B
Plaintext
12 lines
371 B
Plaintext
# Copyright (c) 2021 Google Inc
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
DT_COMPAT_ST_BBRAM_NPCX := nuvoton,npcx-bbram
|
|
|
|
config BBRAM_NPCX
|
|
bool "Nuvoton NPCX embedded controller (EC) Battery-backed RAM drivers"
|
|
depends on SOC_FAMILY_NPCX
|
|
default $(dt_compat_enabled,${DT_COMPAT_ST_BBRAM_NPCX})
|
|
help
|
|
This option enables the BBRAM driver for NPCX family of processors.
|