zephyr/drivers/bbram/Kconfig.it8xxx2
Tim Lin 013bc73e40 ITE: cleanup: drivers/bbram: correct the default configuration format
1. Rename DT_COMPAT_ST_BBRAM_IT8XXX2 to COMAPT_ITE_IT8XXX2_BBRAM
2. The default configuration "$( )" should be a parentheses instead
   of curly brackets. The BBRAM for it8xxx2 can be driven after
   correcting.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2022-01-17 11:52:13 -05:00

12 lines
368 B
Text

# Copyright (c) 2021 Google Inc
# SPDX-License-Identifier: Apache-2.0
DT_COMPAT_ITE_IT8XXX2_BBRAM := ite,it8xxx2-bbram
config BBRAM_IT8XXX2
bool "ITE IT81202 Battery-backed RAM drivers"
depends on SOC_FAMILY_RISCV_ITE
default $(dt_compat_enabled,$(DT_COMPAT_ITE_IT8XXX2_BBRAM))
help
This option enables the BBRAM driver for RISCV_ITE family of
processors.