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>
This commit is contained in:
parent
95ba8e3fe4
commit
013bc73e40
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2021 Google Inc
|
# Copyright (c) 2021 Google Inc
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
DT_COMPAT_ST_BBRAM_IT8XXX2 := ite,it8xxx2-bbram
|
DT_COMPAT_ITE_IT8XXX2_BBRAM := ite,it8xxx2-bbram
|
||||||
|
|
||||||
config BBRAM_IT8XXX2
|
config BBRAM_IT8XXX2
|
||||||
bool "ITE IT81202 Battery-backed RAM drivers"
|
bool "ITE IT81202 Battery-backed RAM drivers"
|
||||||
depends on SOC_FAMILY_RISCV_ITE
|
depends on SOC_FAMILY_RISCV_ITE
|
||||||
default $(dt_compat_enabled,${DT_COMPAT_ST_BBRAM_IT8XXX2})
|
default $(dt_compat_enabled,$(DT_COMPAT_ITE_IT8XXX2_BBRAM))
|
||||||
help
|
help
|
||||||
This option enables the BBRAM driver for RISCV_ITE family of
|
This option enables the BBRAM driver for RISCV_ITE family of
|
||||||
processors.
|
processors.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue