Fix Kconfig style
Remove spaces from Kconfig files Add TABs
This commit is contained in:
parent
350f396aa5
commit
aaef87e5b6
5 changed files with 106 additions and 107 deletions
|
@ -1408,8 +1408,8 @@ endchoice # FDCAN1 mode
|
|||
menu "FDCAN1 Bit Timing"
|
||||
|
||||
config STM32H5_FDCAN1_AUTO_BIT_TIMING
|
||||
bool "FDCAN1 Automatic Bit Timing"
|
||||
default y
|
||||
bool "FDCAN1 Automatic Bit Timing"
|
||||
default y
|
||||
---help---
|
||||
Automatically determine FDCAN1 bit timing (nominal and data) based on bitrate.
|
||||
|
||||
|
@ -1426,7 +1426,7 @@ config STM32H5_FDCAN1_NTSEG1
|
|||
int "FDCAN1 NTSEG1 (PropSeg + PhaseSeg1)"
|
||||
default 6
|
||||
range 1 256
|
||||
depends on !STM32H5_FDCAN1_AUTO_BIT_TIMING
|
||||
depends on !STM32H5_FDCAN1_AUTO_BIT_TIMING
|
||||
---help---
|
||||
The length of the bit time is Tquanta * (SyncSeg + PropSeg + PhaseSeg1 + PhaseSeg2).
|
||||
|
||||
|
@ -1434,7 +1434,7 @@ config STM32H5_FDCAN1_NTSEG2
|
|||
int "FDCAN1 NTSEG2 (PhaseSeg2)"
|
||||
default 7
|
||||
range 1 128
|
||||
depends on !STM32H5_FDCAN1_AUTO_BIT_TIMING
|
||||
depends on !STM32H5_FDCAN1_AUTO_BIT_TIMING
|
||||
---help---
|
||||
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"
|
||||
default 1
|
||||
range 1 128
|
||||
depends on !STM32H5_FDCAN1_AUTO_BIT_TIMING
|
||||
depends on !STM32H5_FDCAN1_AUTO_BIT_TIMING
|
||||
---help---
|
||||
The length of the bit time is Tquanta * (SyncSeg + PropSeg + PhaseSeg1 + PhaseSeg2).
|
||||
|
||||
|
@ -1535,8 +1535,8 @@ endchoice # FDCAN2 mode
|
|||
menu "FDCAN2 Bit Timing"
|
||||
|
||||
config STM32H5_FDCAN2_AUTO_BIT_TIMING
|
||||
bool "FDCAN2 Automatic Bit Timing"
|
||||
default y
|
||||
bool "FDCAN2 Automatic Bit Timing"
|
||||
default y
|
||||
---help---
|
||||
Automatically determine FDCAN2 bit timing (nominal and data) based on bitrate.
|
||||
|
||||
|
@ -1553,7 +1553,7 @@ config STM32H5_FDCAN2_NTSEG1
|
|||
int "FDCAN2 NTSEG1 (PropSeg + PhaseSeg1)"
|
||||
default 6
|
||||
range 1 256
|
||||
depends on !STM32H5_FDCAN2_AUTO_BIT_TIMING
|
||||
depends on !STM32H5_FDCAN2_AUTO_BIT_TIMING
|
||||
---help---
|
||||
The length of the bit time is Tquanta * (SyncSeg + PropSeg + PhaseSeg1 + PhaseSeg2).
|
||||
|
||||
|
@ -1561,7 +1561,7 @@ config STM32H5_FDCAN2_NTSEG2
|
|||
int "FDCAN2 NTSEG2 (PhaseSeg2)"
|
||||
default 7
|
||||
range 1 128
|
||||
depends on !STM32H5_FDCAN2_AUTO_BIT_TIMING
|
||||
depends on !STM32H5_FDCAN2_AUTO_BIT_TIMING
|
||||
---help---
|
||||
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"
|
||||
default 1
|
||||
range 1 128
|
||||
depends on !STM32H5_FDCAN2_AUTO_BIT_TIMING
|
||||
depends on !STM32H5_FDCAN2_AUTO_BIT_TIMING
|
||||
---help---
|
||||
The length of the bit time is Tquanta * (SyncSeg + PropSeg + PhaseSeg1 + PhaseSeg2).
|
||||
|
||||
|
|
|
@ -118,7 +118,7 @@ config ARCH_CHIP_BCM2711
|
|||
select ARCH_NEED_ADDRENV_MAPPING
|
||||
select ARCH_HAVE_MULTICPU
|
||||
select ARCH_USE_MMU # Required for up_testset
|
||||
select ARMV8A_HAVE_GICv2
|
||||
select ARMV8A_HAVE_GICv2
|
||||
---help---
|
||||
Broadcom BCM2711 quad-core ARM Cortex A72
|
||||
|
||||
|
|
|
@ -14,80 +14,80 @@ comment "BCM2711 configuration options"
|
|||
menu "Broadcom BCM2711 Peripheral Selection"
|
||||
|
||||
config BCM2711_LOW_PERIPHERAL
|
||||
bool "BCM2711 Low Peripheral Mode"
|
||||
default y
|
||||
---help---
|
||||
Use the Broadcom BCM2711 in low peripheral addressing mode.
|
||||
bool "BCM2711 Low Peripheral Mode"
|
||||
default y
|
||||
---help---
|
||||
Use the Broadcom BCM2711 in low peripheral addressing mode.
|
||||
|
||||
#####################################################################
|
||||
# I2C Configuration (master)
|
||||
#####################################################################
|
||||
|
||||
config BCM2711_I2C
|
||||
bool "I2C Master"
|
||||
select I2C
|
||||
---help---
|
||||
Support for I2C in master mode.
|
||||
bool "I2C Master"
|
||||
select I2C
|
||||
---help---
|
||||
Support for I2C in master mode.
|
||||
|
||||
if BCM2711_I2C
|
||||
|
||||
config BCM2711_I2C0
|
||||
bool "I2C0"
|
||||
default n
|
||||
---help---
|
||||
Enable the I2C0 interface.
|
||||
See board selection menu to configure the pins used by I2C0.
|
||||
bool "I2C0"
|
||||
default n
|
||||
---help---
|
||||
Enable the I2C0 interface.
|
||||
See board selection menu to configure the pins used by I2C0.
|
||||
|
||||
config BCM2711_I2C1
|
||||
bool "I2C1"
|
||||
default n
|
||||
---help---
|
||||
Enable the I2C1 interface.
|
||||
See board selection menu to configure the pins used by I2C1.
|
||||
bool "I2C1"
|
||||
default n
|
||||
---help---
|
||||
Enable the I2C1 interface.
|
||||
See board selection menu to configure the pins used by I2C1.
|
||||
|
||||
config BCM2711_I2C2
|
||||
bool "I2C2"
|
||||
default n
|
||||
---help---
|
||||
Enable the I2C2 interface.
|
||||
See board selection menu to configure the pins used by I2C2.
|
||||
bool "I2C2"
|
||||
default n
|
||||
---help---
|
||||
Enable the I2C2 interface.
|
||||
See board selection menu to configure the pins used by I2C2.
|
||||
|
||||
config BCM2711_I2C3
|
||||
bool "I2C3"
|
||||
default n
|
||||
---help---
|
||||
Enable the I2C3 interface.
|
||||
See board selection menu to configure the pins used by I2C3.
|
||||
bool "I2C3"
|
||||
default n
|
||||
---help---
|
||||
Enable the I2C3 interface.
|
||||
See board selection menu to configure the pins used by I2C3.
|
||||
|
||||
config BCM2711_I2C4
|
||||
bool "I2C4"
|
||||
default n
|
||||
---help---
|
||||
Enable the I2C4 interface.
|
||||
See board selection menu to configure the pins used by I2C4.
|
||||
bool "I2C4"
|
||||
default n
|
||||
---help---
|
||||
Enable the I2C4 interface.
|
||||
See board selection menu to configure the pins used by I2C4.
|
||||
|
||||
config BCM2711_I2C5
|
||||
bool "I2C5"
|
||||
default n
|
||||
---help---
|
||||
Enable the I2C5 interface.
|
||||
See board selection menu to configure the pins used by I2C5.
|
||||
bool "I2C5"
|
||||
default n
|
||||
---help---
|
||||
Enable the I2C5 interface.
|
||||
See board selection menu to configure the pins used by I2C5.
|
||||
|
||||
config BCM2711_I2C6
|
||||
bool "I2C6"
|
||||
default n
|
||||
---help---
|
||||
Enable the I2C6 interface.
|
||||
See board selection menu to configure the pins used by I2C6.
|
||||
bool "I2C6"
|
||||
default n
|
||||
---help---
|
||||
Enable the I2C6 interface.
|
||||
See board selection menu to configure the pins used by I2C6.
|
||||
|
||||
config BCM2711_I2C_DRIVER
|
||||
bool "I2C character driver"
|
||||
default n
|
||||
select I2C_DRIVER
|
||||
---help---
|
||||
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 testing, not for use in any real driver application.
|
||||
bool "I2C character driver"
|
||||
default n
|
||||
select I2C_DRIVER
|
||||
---help---
|
||||
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 testing, not for use in any real driver application.
|
||||
|
||||
endif # BCM2711_I2C
|
||||
|
||||
|
@ -96,24 +96,24 @@ endif # BCM2711_I2C
|
|||
#####################################################################
|
||||
|
||||
config BCM2711_SPI
|
||||
bool "SPI support"
|
||||
select SPI
|
||||
---help---
|
||||
Support for SPI interfaces.
|
||||
bool "SPI support"
|
||||
select SPI
|
||||
---help---
|
||||
Support for SPI interfaces.
|
||||
|
||||
if BCM2711_SPI
|
||||
|
||||
config BCM2711_SPI1
|
||||
bool "SPI1"
|
||||
default n
|
||||
---help---
|
||||
Enable the SPI1 interface.
|
||||
bool "SPI1"
|
||||
default n
|
||||
---help---
|
||||
Enable the SPI1 interface.
|
||||
|
||||
config BCM2711_SPI2
|
||||
bool "SPI2"
|
||||
default n
|
||||
---help---
|
||||
Enable the SPI2 interface.
|
||||
bool "SPI2"
|
||||
default n
|
||||
---help---
|
||||
Enable the SPI2 interface.
|
||||
|
||||
endif # BCM2711_SPI
|
||||
|
||||
|
|
|
@ -110,8 +110,8 @@ menuconfig BL808_I2C0
|
|||
bool "I2C 0"
|
||||
default n
|
||||
select I2C
|
||||
select I2C_DRIVER
|
||||
select ARCH_HAVE_I2CRESET
|
||||
select I2C_DRIVER
|
||||
select ARCH_HAVE_I2CRESET
|
||||
|
||||
if BL808_I2C0
|
||||
|
||||
|
@ -133,8 +133,8 @@ menuconfig BL808_I2C1
|
|||
bool "I2C 1"
|
||||
default n
|
||||
select I2C
|
||||
select I2C_DRIVER
|
||||
select ARCH_HAVE_I2CRESET
|
||||
select I2C_DRIVER
|
||||
select ARCH_HAVE_I2CRESET
|
||||
|
||||
if BL808_I2C1
|
||||
|
||||
|
@ -156,8 +156,8 @@ menuconfig BL808_I2C2
|
|||
bool "I2C 2"
|
||||
default n
|
||||
select I2C
|
||||
select I2C_DRIVER
|
||||
select ARCH_HAVE_I2CRESET
|
||||
select I2C_DRIVER
|
||||
select ARCH_HAVE_I2CRESET
|
||||
|
||||
if BL808_I2C2
|
||||
|
||||
|
@ -179,8 +179,8 @@ menuconfig BL808_I2C3
|
|||
bool "I2C 3"
|
||||
default n
|
||||
select I2C
|
||||
select I2C_DRIVER
|
||||
select ARCH_HAVE_I2CRESET
|
||||
select I2C_DRIVER
|
||||
select ARCH_HAVE_I2CRESET
|
||||
|
||||
if BL808_I2C3
|
||||
|
||||
|
|
|
@ -5,37 +5,36 @@
|
|||
|
||||
if ARCH_BOARD_RASPBERRYPI_4B
|
||||
|
||||
choice
|
||||
prompt "Raspberry Pi 4B RAM size"
|
||||
default RPI4B_RAM_4GB
|
||||
choice
|
||||
prompt "Raspberry Pi 4B RAM size"
|
||||
default RPI4B_RAM_4GB
|
||||
|
||||
config RPI4B_RAM_1GB
|
||||
bool "1GB RAM"
|
||||
---help---
|
||||
Support for the 1GB variant of the Raspberry Pi 4B.
|
||||
config RPI4B_RAM_1GB
|
||||
bool "1GB RAM"
|
||||
---help---
|
||||
Support for the 1GB variant of the Raspberry Pi 4B.
|
||||
|
||||
config RPI4B_RAM_2GB
|
||||
bool "2GB RAM"
|
||||
---help---
|
||||
Support for the 2GB variant of the Raspberry Pi 4B.
|
||||
config RPI4B_RAM_2GB
|
||||
bool "2GB RAM"
|
||||
---help---
|
||||
Support for the 2GB variant of the Raspberry Pi 4B.
|
||||
|
||||
config RPI4B_RAM_4GB
|
||||
bool "4GB RAM"
|
||||
---help---
|
||||
Support for the 4GB variant of the Raspberry Pi 4B.
|
||||
config RPI4B_RAM_4GB
|
||||
bool "4GB RAM"
|
||||
---help---
|
||||
Support for the 4GB variant of the Raspberry Pi 4B.
|
||||
|
||||
config RPI4B_RAM_8GB
|
||||
bool "8GB RAM"
|
||||
---help---
|
||||
Support for the 8GB variant of the Raspberry Pi 4B.
|
||||
config RPI4B_RAM_8GB
|
||||
bool "8GB RAM"
|
||||
---help---
|
||||
Support for the 8GB variant of the Raspberry Pi 4B.
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
endif # ARCH_BOARD_RASPBERRYPI_4B
|
||||
|
|
Loading…
Reference in a new issue