Kconfig: Simplify the conditional default statement

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2023-07-16 01:04:21 +08:00
committed by Alan Carvalho de Assis
parent e031a73aef
commit abfe082a6f
55 changed files with 118 additions and 187 deletions
+1 -1
View File
@@ -960,7 +960,7 @@ config ST7565_MIRROR_X
config ST7565_MIRROR_Y
bool "ST7565 apply mirror on Y"
default y if AQM_1248A
default AQM_1248A
default n
---help---
Mirror Y on LCD.
+1 -2
View File
@@ -100,8 +100,7 @@ if DRVR_WRITEBUFFER || DRVR_READAHEAD
config DRVR_READBYTES
bool "Support byte read method"
default y if MTD_BYTE_WRITE
default n if !MTD_BYTE_WRITE
default MTD_BYTE_WRITE
config DRVR_REMOVABLE
bool "Support removable media"
+1 -2
View File
@@ -244,8 +244,7 @@ config MTD_NAND_BLOCKCHECK
config MTD_NAND_SWECC
bool "Software ECC support"
default n if ARCH_NAND_HWECC
default y if !ARCH_NAND_HWECC
default !ARCH_NAND_HWECC
---help---
Build in logic to support software calculation of ECC.
+1 -1
View File
@@ -1008,7 +1008,7 @@ config SENSORS_LIS3MDL
config LM75_I2C
bool
default y if LM75
default LM75
config SENSORS_LM75
bool "STMicro LM-75 Temperature Sensor support"
+1 -2
View File
@@ -87,8 +87,7 @@ config RPMSG_UART
config STANDARD_SERIAL
bool "Enable standard \"upper-half\" serial driver"
default y if MCU_SERIAL
default n if !MCU_SERIAL
default MCU_SERIAL
---help---
Enable the standard, upper-half serial driver used by most MCU serial peripherals.
+1 -2
View File
@@ -128,8 +128,7 @@ config SPI_CMDDATA
config SPI_CALLBACK
bool "Media change callbacks"
default y if MMCSD_SPI
default n if !MMCSD_SPI
default MMCSD_SPI
---help---
Support the callback method in the SPI interface. This will allow
the SPI-based MMC/SD driver to get a notification of changes in the