Fix Kconfig style

Remove spaces from Kconfig files
Add TABs
This commit is contained in:
simbit18
2025-01-07 21:39:50 +08:00
committed by Xiang Xiao
parent 350f396aa5
commit aaef87e5b6
5 changed files with 106 additions and 107 deletions
+10 -10
View File
@@ -1408,8 +1408,8 @@ endchoice # FDCAN1 mode
menu "FDCAN1 Bit Timing" menu "FDCAN1 Bit Timing"
config STM32H5_FDCAN1_AUTO_BIT_TIMING config STM32H5_FDCAN1_AUTO_BIT_TIMING
bool "FDCAN1 Automatic Bit Timing" bool "FDCAN1 Automatic Bit Timing"
default y default y
---help--- ---help---
Automatically determine FDCAN1 bit timing (nominal and data) based on bitrate. Automatically determine FDCAN1 bit timing (nominal and data) based on bitrate.
@@ -1426,7 +1426,7 @@ config STM32H5_FDCAN1_NTSEG1
int "FDCAN1 NTSEG1 (PropSeg + PhaseSeg1)" int "FDCAN1 NTSEG1 (PropSeg + PhaseSeg1)"
default 6 default 6
range 1 256 range 1 256
depends on !STM32H5_FDCAN1_AUTO_BIT_TIMING depends on !STM32H5_FDCAN1_AUTO_BIT_TIMING
---help--- ---help---
The length of the bit time is Tquanta * (SyncSeg + PropSeg + PhaseSeg1 + PhaseSeg2). The length of the bit time is Tquanta * (SyncSeg + PropSeg + PhaseSeg1 + PhaseSeg2).
@@ -1434,7 +1434,7 @@ config STM32H5_FDCAN1_NTSEG2
int "FDCAN1 NTSEG2 (PhaseSeg2)" int "FDCAN1 NTSEG2 (PhaseSeg2)"
default 7 default 7
range 1 128 range 1 128
depends on !STM32H5_FDCAN1_AUTO_BIT_TIMING depends on !STM32H5_FDCAN1_AUTO_BIT_TIMING
---help--- ---help---
The length of the bit time is Tquanta * (SyncSeg + PropSeg + PhaseSeg1 + PhaseSeg2). The length of the bit time is Tquanta * (SyncSeg + PropSeg + PhaseSeg1 + PhaseSeg2).
@@ -1442,7 +1442,7 @@ config STM32H5_FDCAN1_NSJW
int "FDCAN1 synchronization jump width" int "FDCAN1 synchronization jump width"
default 1 default 1
range 1 128 range 1 128
depends on !STM32H5_FDCAN1_AUTO_BIT_TIMING depends on !STM32H5_FDCAN1_AUTO_BIT_TIMING
---help--- ---help---
The length of the bit time is Tquanta * (SyncSeg + PropSeg + PhaseSeg1 + PhaseSeg2). The length of the bit time is Tquanta * (SyncSeg + PropSeg + PhaseSeg1 + PhaseSeg2).
@@ -1535,8 +1535,8 @@ endchoice # FDCAN2 mode
menu "FDCAN2 Bit Timing" menu "FDCAN2 Bit Timing"
config STM32H5_FDCAN2_AUTO_BIT_TIMING config STM32H5_FDCAN2_AUTO_BIT_TIMING
bool "FDCAN2 Automatic Bit Timing" bool "FDCAN2 Automatic Bit Timing"
default y default y
---help--- ---help---
Automatically determine FDCAN2 bit timing (nominal and data) based on bitrate. Automatically determine FDCAN2 bit timing (nominal and data) based on bitrate.
@@ -1553,7 +1553,7 @@ config STM32H5_FDCAN2_NTSEG1
int "FDCAN2 NTSEG1 (PropSeg + PhaseSeg1)" int "FDCAN2 NTSEG1 (PropSeg + PhaseSeg1)"
default 6 default 6
range 1 256 range 1 256
depends on !STM32H5_FDCAN2_AUTO_BIT_TIMING depends on !STM32H5_FDCAN2_AUTO_BIT_TIMING
---help--- ---help---
The length of the bit time is Tquanta * (SyncSeg + PropSeg + PhaseSeg1 + PhaseSeg2). The length of the bit time is Tquanta * (SyncSeg + PropSeg + PhaseSeg1 + PhaseSeg2).
@@ -1561,7 +1561,7 @@ config STM32H5_FDCAN2_NTSEG2
int "FDCAN2 NTSEG2 (PhaseSeg2)" int "FDCAN2 NTSEG2 (PhaseSeg2)"
default 7 default 7
range 1 128 range 1 128
depends on !STM32H5_FDCAN2_AUTO_BIT_TIMING depends on !STM32H5_FDCAN2_AUTO_BIT_TIMING
---help--- ---help---
The length of the bit time is Tquanta * (SyncSeg + PropSeg + PhaseSeg1 + PhaseSeg2). The length of the bit time is Tquanta * (SyncSeg + PropSeg + PhaseSeg1 + PhaseSeg2).
@@ -1569,7 +1569,7 @@ config STM32H5_FDCAN2_NSJW
int "FDCAN2 synchronization jump width" int "FDCAN2 synchronization jump width"
default 1 default 1
range 1 128 range 1 128
depends on !STM32H5_FDCAN2_AUTO_BIT_TIMING depends on !STM32H5_FDCAN2_AUTO_BIT_TIMING
---help--- ---help---
The length of the bit time is Tquanta * (SyncSeg + PropSeg + PhaseSeg1 + PhaseSeg2). The length of the bit time is Tquanta * (SyncSeg + PropSeg + PhaseSeg1 + PhaseSeg2).
+1 -1
View File
@@ -118,7 +118,7 @@ config ARCH_CHIP_BCM2711
select ARCH_NEED_ADDRENV_MAPPING select ARCH_NEED_ADDRENV_MAPPING
select ARCH_HAVE_MULTICPU select ARCH_HAVE_MULTICPU
select ARCH_USE_MMU # Required for up_testset select ARCH_USE_MMU # Required for up_testset
select ARMV8A_HAVE_GICv2 select ARMV8A_HAVE_GICv2
---help--- ---help---
Broadcom BCM2711 quad-core ARM Cortex A72 Broadcom BCM2711 quad-core ARM Cortex A72
+62 -62
View File
@@ -14,80 +14,80 @@ comment "BCM2711 configuration options"
menu "Broadcom BCM2711 Peripheral Selection" menu "Broadcom BCM2711 Peripheral Selection"
config BCM2711_LOW_PERIPHERAL config BCM2711_LOW_PERIPHERAL
bool "BCM2711 Low Peripheral Mode" bool "BCM2711 Low Peripheral Mode"
default y default y
---help--- ---help---
Use the Broadcom BCM2711 in low peripheral addressing mode. Use the Broadcom BCM2711 in low peripheral addressing mode.
##################################################################### #####################################################################
# I2C Configuration (master) # I2C Configuration (master)
##################################################################### #####################################################################
config BCM2711_I2C config BCM2711_I2C
bool "I2C Master" bool "I2C Master"
select I2C select I2C
---help--- ---help---
Support for I2C in master mode. Support for I2C in master mode.
if BCM2711_I2C if BCM2711_I2C
config BCM2711_I2C0 config BCM2711_I2C0
bool "I2C0" bool "I2C0"
default n default n
---help--- ---help---
Enable the I2C0 interface. Enable the I2C0 interface.
See board selection menu to configure the pins used by I2C0. See board selection menu to configure the pins used by I2C0.
config BCM2711_I2C1 config BCM2711_I2C1
bool "I2C1" bool "I2C1"
default n default n
---help--- ---help---
Enable the I2C1 interface. Enable the I2C1 interface.
See board selection menu to configure the pins used by I2C1. See board selection menu to configure the pins used by I2C1.
config BCM2711_I2C2 config BCM2711_I2C2
bool "I2C2" bool "I2C2"
default n default n
---help--- ---help---
Enable the I2C2 interface. Enable the I2C2 interface.
See board selection menu to configure the pins used by I2C2. See board selection menu to configure the pins used by I2C2.
config BCM2711_I2C3 config BCM2711_I2C3
bool "I2C3" bool "I2C3"
default n default n
---help--- ---help---
Enable the I2C3 interface. Enable the I2C3 interface.
See board selection menu to configure the pins used by I2C3. See board selection menu to configure the pins used by I2C3.
config BCM2711_I2C4 config BCM2711_I2C4
bool "I2C4" bool "I2C4"
default n default n
---help--- ---help---
Enable the I2C4 interface. Enable the I2C4 interface.
See board selection menu to configure the pins used by I2C4. See board selection menu to configure the pins used by I2C4.
config BCM2711_I2C5 config BCM2711_I2C5
bool "I2C5" bool "I2C5"
default n default n
---help--- ---help---
Enable the I2C5 interface. Enable the I2C5 interface.
See board selection menu to configure the pins used by I2C5. See board selection menu to configure the pins used by I2C5.
config BCM2711_I2C6 config BCM2711_I2C6
bool "I2C6" bool "I2C6"
default n default n
---help--- ---help---
Enable the I2C6 interface. Enable the I2C6 interface.
See board selection menu to configure the pins used by I2C6. See board selection menu to configure the pins used by I2C6.
config BCM2711_I2C_DRIVER config BCM2711_I2C_DRIVER
bool "I2C character driver" bool "I2C character driver"
default n default n
select I2C_DRIVER select I2C_DRIVER
---help--- ---help---
Support for the I2C character driver at /dev/i2c[N]. Can be used Support for the I2C character driver at /dev/i2c[N]. Can be used
for I2C bus transfers from application code. This driver is intended for I2C bus transfers from application code. This driver is intended
for testing, not for use in any real driver application. for testing, not for use in any real driver application.
endif # BCM2711_I2C endif # BCM2711_I2C
@@ -96,24 +96,24 @@ endif # BCM2711_I2C
##################################################################### #####################################################################
config BCM2711_SPI config BCM2711_SPI
bool "SPI support" bool "SPI support"
select SPI select SPI
---help--- ---help---
Support for SPI interfaces. Support for SPI interfaces.
if BCM2711_SPI if BCM2711_SPI
config BCM2711_SPI1 config BCM2711_SPI1
bool "SPI1" bool "SPI1"
default n default n
---help--- ---help---
Enable the SPI1 interface. Enable the SPI1 interface.
config BCM2711_SPI2 config BCM2711_SPI2
bool "SPI2" bool "SPI2"
default n default n
---help--- ---help---
Enable the SPI2 interface. Enable the SPI2 interface.
endif # BCM2711_SPI endif # BCM2711_SPI
+8 -8
View File
@@ -110,8 +110,8 @@ menuconfig BL808_I2C0
bool "I2C 0" bool "I2C 0"
default n default n
select I2C select I2C
select I2C_DRIVER select I2C_DRIVER
select ARCH_HAVE_I2CRESET select ARCH_HAVE_I2CRESET
if BL808_I2C0 if BL808_I2C0
@@ -133,8 +133,8 @@ menuconfig BL808_I2C1
bool "I2C 1" bool "I2C 1"
default n default n
select I2C select I2C
select I2C_DRIVER select I2C_DRIVER
select ARCH_HAVE_I2CRESET select ARCH_HAVE_I2CRESET
if BL808_I2C1 if BL808_I2C1
@@ -156,8 +156,8 @@ menuconfig BL808_I2C2
bool "I2C 2" bool "I2C 2"
default n default n
select I2C select I2C
select I2C_DRIVER select I2C_DRIVER
select ARCH_HAVE_I2CRESET select ARCH_HAVE_I2CRESET
if BL808_I2C2 if BL808_I2C2
@@ -179,8 +179,8 @@ menuconfig BL808_I2C3
bool "I2C 3" bool "I2C 3"
default n default n
select I2C select I2C
select I2C_DRIVER select I2C_DRIVER
select ARCH_HAVE_I2CRESET select ARCH_HAVE_I2CRESET
if BL808_I2C3 if BL808_I2C3
+25 -26
View File
@@ -5,37 +5,36 @@
if ARCH_BOARD_RASPBERRYPI_4B if ARCH_BOARD_RASPBERRYPI_4B
choice choice
prompt "Raspberry Pi 4B RAM size" prompt "Raspberry Pi 4B RAM size"
default RPI4B_RAM_4GB default RPI4B_RAM_4GB
config RPI4B_RAM_1GB config RPI4B_RAM_1GB
bool "1GB RAM" bool "1GB RAM"
---help--- ---help---
Support for the 1GB variant of the Raspberry Pi 4B. Support for the 1GB variant of the Raspberry Pi 4B.
config RPI4B_RAM_2GB config RPI4B_RAM_2GB
bool "2GB RAM" bool "2GB RAM"
---help--- ---help---
Support for the 2GB variant of the Raspberry Pi 4B. Support for the 2GB variant of the Raspberry Pi 4B.
config RPI4B_RAM_4GB config RPI4B_RAM_4GB
bool "4GB RAM" bool "4GB RAM"
---help--- ---help---
Support for the 4GB variant of the Raspberry Pi 4B. Support for the 4GB variant of the Raspberry Pi 4B.
config RPI4B_RAM_8GB config RPI4B_RAM_8GB
bool "8GB RAM" bool "8GB RAM"
---help--- ---help---
Support for the 8GB variant of the Raspberry Pi 4B. Support for the 8GB variant of the Raspberry Pi 4B.
endchoice # Raspberry Pi 4B RAM size endchoice # Raspberry Pi 4B RAM size
config RPI4B_DEBUG_BOOT
bool "Raspberry Pi 4B bootloader debug output"
default n
---help---
Enables the debug output of the Raspberry Pi 4B bootloader.
config RPI4B_DEBUG_BOOT
bool "Raspberry Pi 4B bootloader debug output"
default n
---help---
Enables the debug output of the Raspberry Pi 4B bootloader.
endif # ARCH_BOARD_RASPBERRYPI_4B endif # ARCH_BOARD_RASPBERRYPI_4B