Skip to contentSkip to conversation

Kconfig restyle

PATCH In review Johan Jonker 2 participants 18 messages Jun 9 – Jun 26

Subsystems (21)
lore
Share & tools
lore
#0 lore raw

cover Kconfig restyle

The Kconfig menu attribute '---help---' is deprecated. If we change to "help" the text has to indent. This again has to align with other attributes, so we have to restyle them as well.
And as there's a script then change all Kconfig to start with the 'arch' and 'board' directories.

Restyle all Kconfigs:
Menu entries : no space left
Menu attributes: 1 TAB
Help text : 1 TAB + 2 spaces
Replace '---help---' by 'help'

Problems:
People creating indents in help texts.
The script doesn't care. It puts everything left aligned.

Help texts with empty lines. It stops aligning as help test.

Other fixes:
While using checkpatch.pl or the script some issues showed up, so fix them as well.

Johan Jonker (8):
Kconfig: armv7: fix typo
Kconfig: powerpc: mpc85xx: fix typo
Kconfig: power: pmic: fix typo
Kconfig: themal: fix typo
Kconfig: misc: add empty line
Kconfig: arm: restyle
Kconfig: arch: restyle
Kconfig: board: restyle

 arch/Kconfig                                |  16 +-
 arch/arm/Kconfig                            |  54 +--
 arch/arm/cpu/armv7/Kconfig                  |  26 +-
 arch/arm/cpu/armv7/ls102xa/Kconfig          |   8 +-
 arch/arm/cpu/armv8/Kconfig                  |  18 +-
 arch/arm/cpu/armv8/fsl-layerscape/Kconfig   |   6 +-
 arch/arm/mach-at91/Kconfig                  |  12 +-
 arch/arm/mach-imx/Kconfig                   |   2 +-
 arch/arm/mach-imx/imx9/Kconfig              |   6 +-
 arch/arm/mach-imx/mx6/Kconfig               |  16 +-
 arch/arm/mach-keystone/Kconfig              |   4 +-
 arch/arm/mach-kirkwood/Kconfig              |  10 +-
 arch/arm/mach-mediatek/Kconfig              |  28 +-
 arch/arm/mach-omap2/omap5/Kconfig           |  10 +-
 arch/arm/mach-owl/Kconfig                   |  12 +-
 arch/arm/mach-rockchip/Kconfig              |  16 +-
 arch/arm/mach-rockchip/px30/Kconfig         |   4 +-
 arch/arm/mach-rockchip/rk322x/Kconfig       |   4 +-
 arch/arm/mach-rockchip/rk3288/Kconfig       |   6 +-
 arch/arm/mach-rockchip/rk3308/Kconfig       |   2 +-
 arch/arm/mach-rockchip/rk3368/Kconfig       |  18 +-
 arch/arm/mach-rockchip/rk3399/Kconfig       |   4 +-
 arch/arm/mach-rockchip/rv1126/Kconfig       |   2 +-
 arch/arm/mach-socfpga/Kconfig               |   4 +-
 arch/arm/mach-sti/Kconfig                   |   2 +-
 arch/arm/mach-stm32mp/Kconfig               |  54 +--
 arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig |  22 +-
 arch/arm/mach-sunxi/Kconfig                 | 450 ++++++++++----------
 arch/arm/mach-uniphier/Kconfig              |   2 +-
 arch/m68k/Kconfig                           |  34 +-
 arch/mips/Kconfig                           |   8 +-
 arch/mips/mach-octeon/Kconfig               |   8 +-
 arch/powerpc/cpu/mpc85xx/Kconfig            |  44 +-
 arch/x86/Kconfig                            |  20 +-
 board/alliedtelesis/SBx81LIFKW/Kconfig      |   2 +-
 board/alliedtelesis/SBx81LIFXCAT/Kconfig    |   2 +-
 board/beagle/beagleboneai64/Kconfig         |   4 +-
 board/beagle/beagleplay/Kconfig             |  12 +-
 board/beagle/beagley-ai/Kconfig             |   2 +-
 board/cortina/common/Kconfig                |  10 +-
 board/cortina/presidio-asic/Kconfig         |   2 +-
 board/firefly/roc-pc-rk3399/Kconfig         |   2 +-
 board/imgtec/boston/Kconfig                 |   2 +-
 board/logicpd/imx6/Kconfig                  |   2 +-
 board/nxp/ls1012ardb/Kconfig                |   2 +-
 board/nxp/mx6memcal/Kconfig                 |  60 +--
 board/out4/o4-imx6ull-nano/Kconfig          |  20 +-
 board/phytec/common/Kconfig                 |  18 +-
 board/phytec/common/k3/Kconfig              |   4 +-
 board/phytec/phycore_am62ax/Kconfig         |   4 +-
 board/phytec/phycore_am62x/Kconfig          |  40 +-
 board/phytec/phycore_am64x/Kconfig          |  34 +-
 board/phytec/phycore_am68x/Kconfig          |   4 +-
 board/samsung/axy17lte/Kconfig              |  12 +-
 board/siemens/draco/Kconfig                 |   4 +-
 board/socionext/developerbox/Kconfig        |   8 +-
 board/sysam/amcore/Kconfig                  |   6 +-
 board/ti/am62ax/Kconfig                     |   2 +-
 board/ti/am62px/Kconfig                     |   2 +-
 board/ti/am62x/Kconfig                      |   4 +-
 board/ti/am64x/Kconfig                      |   4 +-
 board/ti/am65x/Kconfig                      |   4 +-
 board/ti/common/Kconfig                     |   4 +-
 board/ti/j7200/Kconfig                      |   4 +-
 board/ti/j721e/Kconfig                      |   4 +-
 board/ti/j721s2/Kconfig                     |   4 +-
 board/ti/j722s/Kconfig                      |   2 +-
 board/ti/j784s4/Kconfig                     |   8 +-
 board/toradex/apalis_imx6/Kconfig           |  12 +-
 board/toradex/aquila-am69/Kconfig           |   4 +-
 board/toradex/colibri_imx6/Kconfig          |   2 +-
 board/toradex/verdin-am62p/Kconfig          |  28 +-
 board/traverse/common/Kconfig               |   4 +-
 board/xilinx/Kconfig                        |   2 +-
 drivers/misc/Kconfig                        |   1 +
 drivers/power/pmic/Kconfig                  |   2 +-
 drivers/thermal/Kconfig                     |   2 +-
 77 files changed, 644 insertions(+), 643 deletions(-)

--
2.39.5

#1 lore raw

PATCH 1/8 Kconfig: armv7: fix typo

While restyling Kconfig the script checkpatch.pl gives this info:

WARNING: 'suppport' may be misspelled - perhaps 'support'?

Fix by changing 'suppport' to 'support'.

---
 arch/arm/cpu/armv7/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/cpu/armv7/Kconfig +1 -1
index 3a3c1784e188..1b72fa927721 100644
@@ -23,7 +23,7 @@ config ARMV7_BOOT_SEC_DEFAULT
 	---help---
 	Say Y here to boot in secure mode by default even if non-secure mode
 	is supported. This option is useful to boot kernels which do not
-	suppport booting in non-secure mode. Only set this if you need it.
+	support booting in non-secure mode. Only set this if you need it.
 	This can be overridden at run-time by setting the bootm_boot_mode env.
 	variable to "sec" or "nonsec".
 

--
2.39.5

Reviewed-by on v1 1/8
#2 lore raw

Re: [PATCH v1 1/8] Kconfig: armv7: fix typo

Quoted 8 lines · Johan Jonker

While restyling Kconfig the script checkpatch.pl gives this info:

WARNING: 'suppport' may be misspelled - perhaps 'support'?

Fix by changing 'suppport' to 'support'.

Signature · 1 line
Tom
#3 lore raw

PATCH 2/8 Kconfig: powerpc: mpc85xx: fix typo

In reply to Johan Jonker

While restyling Kconfig the script checkpatch.pl gives this info:

WARNING: 'Enble' may be misspelled - perhaps 'Enable'?

Fix by changing 'Enble' to 'Enable'.

---
 arch/powerpc/cpu/mpc85xx/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/cpu/mpc85xx/Kconfig +1 -1
index cb564b32c072..f0580e3877ad 100644
@@ -973,7 +973,7 @@ config E500MC
 	select BTB
 	imply CMD_PCI
 	help
-		Enble PowerPC E500MC core
+		Enable PowerPC E500MC core
 
 config E5500
 	bool

--
2.39.5

Reviewed-by on v1 2/8
#4 lore raw

Re: [PATCH v1 2/8] Kconfig: powerpc: mpc85xx: fix typo

Quoted 8 lines · Johan Jonker

While restyling Kconfig the script checkpatch.pl gives this info:

WARNING: 'Enble' may be misspelled - perhaps 'Enable'?

Fix by changing 'Enble' to 'Enable'.

Signature · 1 line
Tom
#5 lore raw

PATCH 3/8 Kconfig: power: pmic: fix typo

In reply to Johan Jonker

While restyling Kconfig the script checkpatch.pl gives this info:

WARNING: 'refered' may be misspelled - perhaps 'referred'?

Fix by changing 'refered' to 'referred'.

---
 drivers/power/pmic/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/pmic/Kconfig +1 -1
index 5bc14842e666..8504ae2b0796 100644
@@ -376,7 +376,7 @@ config DM_PMIC_TPS80031
 	This config enables implementation of driver-model pmic uclass features
 	for TPS80031/TPS80032 PMICs. The driver implements read/write operations.
 	This is a Power Management IC with a decent set of peripherals from which
-	5 Buck Converters refered as Switched-mode power supply (SMPS), 11 General-
+	5 Buck Converters referred as Switched-mode power supply (SMPS), 11 General-
 	Purpose Low-Dropout Voltage Regulators (LDO), USB OTG Module, Real-Time
 	Clock (RTC) with Timer and Alarm Wake-Up, Two Digital PWM Outputs and more
 	with I2C Compatible Interface. PMIC occupies 4 I2C addresses.

--
2.39.5

Reviewed-by on v1 3/8
#6 lore raw

Re: [PATCH v1 3/8] Kconfig: power: pmic: fix typo

Quoted 8 lines · Johan Jonker

While restyling Kconfig the script checkpatch.pl gives this info:

WARNING: 'refered' may be misspelled - perhaps 'referred'?

Fix by changing 'refered' to 'referred'.

Signature · 1 line
Tom
#7 lore raw

PATCH 4/8 Kconfig: themal: fix typo

In reply to Johan Jonker

While restyling Kconfig the script checkpatch.pl gives this info:

WARNING: Possible repeated word: 'for'

Fix by changing 'for for' to 'for'.

---
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
index 91c39aa4dee3..c46dca60f60a 100644
@@ -46,7 +46,7 @@ config RCAR_GEN3_THERMAL
 config TI_DRA7_THERMAL
         bool "Temperature sensor driver for TI dra7xx SOCs"
         help
-	 Enable thermal support for for the Texas Instruments DRA752 SoC family.
+	 Enable thermal support for the Texas Instruments DRA752 SoC family.
 	 The driver supports reading CPU temperature.
 
 config TI_LM74_THERMAL

--
2.39.5

#9 lore raw

PATCH 5/8 Kconfig: misc: add empty line

In reply to Johan Jonker

Restyle by adding an empty line between configs.

---
 drivers/misc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/misc/Kconfig +1 -0
index ea785793d18b..0b52515c7009 100644
@@ -647,6 +647,7 @@ config IHS_FPGA
 	  gdsys devices, which supply the majority of the functionality offered
 	  by the devices. This driver supports both CON and CPU variants of the
 	  devices, depending on the device tree entry.
+
 config ESM_K3
 	bool "Enable K3 ESM driver"
 	depends on ARCH_K3

--
2.39.5

#11 lore raw

PATCH 6/8 Kconfig: arm: restyle

In reply to Johan Jonker

Restyle all Kconfigs for "arm":
Menu entries : no space left
Menu attributes: 1 TAB
Help text : 1 TAB + 2 spaces
Replace '---help---' by 'help'

---
 arch/arm/Kconfig                            |  54 +--
 arch/arm/cpu/armv7/Kconfig                  |  26 +-
 arch/arm/cpu/armv7/ls102xa/Kconfig          |   8 +-
 arch/arm/cpu/armv8/Kconfig                  |  18 +-
 arch/arm/cpu/armv8/fsl-layerscape/Kconfig   |   6 +-
 arch/arm/mach-at91/Kconfig                  |  12 +-
 arch/arm/mach-imx/Kconfig                   |   2 +-
 arch/arm/mach-imx/imx9/Kconfig              |   6 +-
 arch/arm/mach-imx/mx6/Kconfig               |  16 +-
 arch/arm/mach-keystone/Kconfig              |   4 +-
 arch/arm/mach-kirkwood/Kconfig              |  10 +-
 arch/arm/mach-mediatek/Kconfig              |  28 +-
 arch/arm/mach-omap2/omap5/Kconfig           |  10 +-
 arch/arm/mach-owl/Kconfig                   |  12 +-
 arch/arm/mach-rockchip/Kconfig              |  16 +-
 arch/arm/mach-rockchip/px30/Kconfig         |   4 +-
 arch/arm/mach-rockchip/rk322x/Kconfig       |   4 +-
 arch/arm/mach-rockchip/rk3288/Kconfig       |   6 +-
 arch/arm/mach-rockchip/rk3308/Kconfig       |   2 +-
 arch/arm/mach-rockchip/rk3368/Kconfig       |  18 +-
 arch/arm/mach-rockchip/rk3399/Kconfig       |   4 +-
 arch/arm/mach-rockchip/rv1126/Kconfig       |   2 +-
 arch/arm/mach-socfpga/Kconfig               |   4 +-
 arch/arm/mach-sti/Kconfig                   |   2 +-
 arch/arm/mach-stm32mp/Kconfig               |  54 +--
 arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig |  22 +-
 arch/arm/mach-sunxi/Kconfig                 | 450 ++++++++++----------
 arch/arm/mach-uniphier/Kconfig              |   2 +-
 28 files changed, 401 insertions(+), 401 deletions(-)
arch/arm/Kconfig +27 -27
index 514bf2000b4d..f8cfa3ff948e 100644
@@ -477,30 +477,30 @@ config SYS_THUMB_BUILD
 	bool "Build U-Boot using the Thumb instruction set"
 	depends on !ARM64
 	help
-	   Use this flag to build U-Boot using the Thumb instruction set for
-	   ARM architectures. Thumb instruction set provides better code
-	   density. For ARM architectures that support Thumb2 this flag will
-	   result in Thumb2 code generated by GCC.
+	  Use this flag to build U-Boot using the Thumb instruction set for
+	  ARM architectures. Thumb instruction set provides better code
+	  density. For ARM architectures that support Thumb2 this flag will
+	  result in Thumb2 code generated by GCC.
 
 config SPL_SYS_THUMB_BUILD
 	bool "Build SPL using the Thumb instruction set"
 	default y if SYS_THUMB_BUILD
 	depends on !ARM64 && SPL
 	help
-	   Use this flag to build SPL using the Thumb instruction set for
-	   ARM architectures. Thumb instruction set provides better code
-	   density. For ARM architectures that support Thumb2 this flag will
-	   result in Thumb2 code generated by GCC.
+	  Use this flag to build SPL using the Thumb instruction set for
+	  ARM architectures. Thumb instruction set provides better code
+	  density. For ARM architectures that support Thumb2 this flag will
+	  result in Thumb2 code generated by GCC.
 
 config TPL_SYS_THUMB_BUILD
 	bool "Build TPL using the Thumb instruction set"
 	default y if SYS_THUMB_BUILD
 	depends on TPL && !ARM64
 	help
-	   Use this flag to build TPL using the Thumb instruction set for
-	   ARM architectures. Thumb instruction set provides better code
-	   density. For ARM architectures that support Thumb2 this flag will
-	   result in Thumb2 code generated by GCC.
+	  Use this flag to build TPL using the Thumb instruction set for
+	  ARM architectures. Thumb instruction set provides better code
+	  density. For ARM architectures that support Thumb2 this flag will
+	  result in Thumb2 code generated by GCC.
 
 config SYS_L2_PL310
 	bool "ARM PL310 L2 cache controller"
@@ -1583,7 +1583,7 @@ config TARGET_HIKEY
 	select PL01X_SERIAL
 	select SPECIFY_CONSOLE_INDEX
 	imply CMD_DM
-	  help
+	help
 	  Support for HiKey 96boards platform. It features a HI6220
 	  SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
 
@@ -1596,7 +1596,7 @@ config TARGET_HIKEY960
 	select OF_CONTROL
 	select PL01X_SERIAL
 	imply CMD_DM
-	  help
+	help
 	  Support for HiKey960 96boards platform. It features a HI3660
 	  SoC, with 4xA73 CPU, 4xA53 CPU, MALI-G71 GPU, and 3GB RAM.
 
@@ -1609,7 +1609,7 @@ config TARGET_POPLAR
 	select OF_CONTROL
 	select PL01X_SERIAL
 	imply CMD_DM
-	  help
+	help
 	  Support for Poplar 96boards EE platform. It features a HI3798cv200
 	  SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
 	  making it capable of running any commercial set-top solution based on
@@ -1667,10 +1667,10 @@ config TARGET_LS1012AFRWY
 	imply SCSI
 	imply SCSI_AHCI
 	help
-	 Support for Freescale LS1012AFRWY platform.
-	 The LS1012A FRWY board (FRWY) is a high-performance
-	 development platform that supports the QorIQ LS1012A
-	 Layerscape Architecture processor.
+	  Support for Freescale LS1012AFRWY platform.
+	  The LS1012A FRWY board (FRWY) is a high-performance
+	  development platform that supports the QorIQ LS1012A
+	  Layerscape Architecture processor.
 
 config TARGET_LS1012AFRDM
 	bool "Support ls1012afrdm"
@@ -1778,9 +1778,9 @@ config TARGET_PG_WCOM_SELI8
 	select VENDOR_KM
 	imply SCSI
 	help
-	 Support for Hitachi-Powergrids SELI8 service unit card.
-	 SELI8 is a QorIQ LS1021a based service unit card used
-	 in XMC20 and FOX615 product families.
+	  Support for Hitachi-Powergrids SELI8 service unit card.
+	  SELI8 is a QorIQ LS1021a based service unit card used
+	  in XMC20 and FOX615 product families.
 
 config TARGET_PG_WCOM_EXPU1
 	bool "Support Hitachi-Powergrids EXPU1 service unit card"
@@ -1796,9 +1796,9 @@ config TARGET_PG_WCOM_EXPU1
 	select VENDOR_KM
 	imply SCSI
 	help
-	 Support for Hitachi-Powergrids EXPU1 service unit card.
-	 EXPU1 is a QorIQ LS1021a based service unit card used
-	 in XMC20 and FOX615 product families.
+	  Support for Hitachi-Powergrids EXPU1 service unit card.
+	  EXPU1 is a QorIQ LS1021a based service unit card used
+	  in XMC20 and FOX615 product families.
 
 config TARGET_LS1021ATSN
 	bool "Support ls1021atsn"
@@ -2173,8 +2173,8 @@ config TARGET_POMELO
 	select DM_SERIAL
 	imply CMD_PCI
 	help
-	   Support for pomelo platform.
-	   It has 8GB Sdram, uart and pcie.
+	  Support for pomelo platform.
+	  It has 8GB Sdram, uart and pcie.
 
 config TARGET_PE2201
 	bool "Support Phytium PE2201 Platform"
arch/arm/cpu/armv7/Kconfig +13 -13
index 1b72fa927721..18e7aed94d93 100644
@@ -13,19 +13,19 @@ config ARMV7_NONSEC
 	bool "Enable support for booting in non-secure mode" if EXPERT
 	depends on CPU_V7_HAS_NONSEC
 	default y
-	---help---
-	Say Y here to enable support for booting in non-secure / SVC mode.
+	help
+	  Say Y here to enable support for booting in non-secure / SVC mode.
 
 config ARMV7_BOOT_SEC_DEFAULT
 	bool "Boot in secure mode by default" if EXPERT
 	depends on ARMV7_NONSEC
 	default y if ARCH_TEGRA
-	---help---
-	Say Y here to boot in secure mode by default even if non-secure mode
-	is supported. This option is useful to boot kernels which do not
-	support booting in non-secure mode. Only set this if you need it.
-	This can be overridden at run-time by setting the bootm_boot_mode env.
-	variable to "sec" or "nonsec".
+	help
+	  Say Y here to boot in secure mode by default even if non-secure mode
+	  is supported. This option is useful to boot kernels which do not
+	  support booting in non-secure mode. Only set this if you need it.
+	  This can be overridden at run-time by setting the bootm_boot_mode env.
+	  variable to "sec" or "nonsec".
 
 config HAS_ARMV7_SECURE_BASE
 	bool "Enable support for a hardware secure memory area"
@@ -74,8 +74,8 @@ config ARMV7_VIRT
 	bool "Enable support for hardware virtualization" if EXPERT
 	depends on CPU_V7_HAS_VIRT && ARMV7_NONSEC
 	default y
-	---help---
-	Say Y here to boot in hypervisor (HYP) mode when booting non-secure.
+	help
+	  Say Y here to boot in hypervisor (HYP) mode when booting non-secure.
 
 config ARMV7_PSCI
 	bool "Enable PSCI support" if EXPERT
@@ -115,9 +115,9 @@ config ARMV7_LPAE
 	bool "Use LPAE page table format" if EXPERT
 	depends on CPU_V7A
 	default y if ARMV7_VIRT
-	---help---
-	Say Y here to use the long descriptor page table format. This is
-	required if U-Boot runs in HYP mode.
+	help
+	  Say Y here to use the long descriptor page table format. This is
+	  required if U-Boot runs in HYP mode.
 
 config ARMV7_SET_CORTEX_SMPEN
 	bool
arch/arm/cpu/armv7/ls102xa/Kconfig +4 -4
index 5c8839583aa6..9ce94555ed05 100644
@@ -100,9 +100,9 @@ config SYS_FSL_ERRATUM_A008407
 config SYS_FSL_QSPI_SKIP_CLKSEL
 	bool "Skip setting QSPI clock during SoC init"
 	help
-	   To improve startup times when booting from QSPI flash, the QSPI
-	   frequency can be set very early in the boot process. If this option
-	   is enabled, the QSPI frequency will not be changed by U-Boot during
-	   SoC initialization.
+	  To improve startup times when booting from QSPI flash, the QSPI
+	  frequency can be set very early in the boot process. If this option
+	  is enabled, the QSPI frequency will not be changed by U-Boot during
+	  SoC initialization.
 
 endmenu
arch/arm/cpu/armv8/Kconfig +9 -9
index dfc4ce851c3a..7e4e3bdd66c9 100644
@@ -23,11 +23,11 @@ config ARMV8_SPL_EXCEPTION_VECTORS
 	  and want to save some space at the cost of less debugging info.
 
 config ARMV8_MULTIENTRY
-        bool "Enable multiple CPUs to enter into U-Boot"
+	bool "Enable multiple CPUs to enter into U-Boot"
 
 config ARMV8_SET_SMPEN
-        bool "Enable data coherency with other cores in cluster"
-        help
+	bool "Enable data coherency with other cores in cluster"
+	help
 	  Say Y here if there is not any trust firmware to set
 	  CPUECTLR_EL1.SMPEN bit before U-Boot.
 
@@ -79,12 +79,12 @@ config ARMV8_SEC_FIRMWARE_SUPPORT
 	  process brief.
 	  Note: Only FIT format image is supported.
 	  You should prepare and provide the below information:
-	    - Address of secure firmware.
-	    - Address to hold the return address from secure firmware.
-	    - Secure firmware FIT image related information.
-	      Such as: SEC_FIRMWARE_FIT_IMAGE and SEC_FIRMWARE_FIT_CNF_NAME
-	    - The target exception level that secure monitor firmware will
-	      return to.
+	  - Address of secure firmware.
+	  - Address to hold the return address from secure firmware.
+	  - Secure firmware FIT image related information.
+	  Such as: SEC_FIRMWARE_FIT_IMAGE and SEC_FIRMWARE_FIT_CNF_NAME
+	  - The target exception level that secure monitor firmware will
+	  return to.
 
 config SPL_ARMV8_SEC_FIRMWARE_SUPPORT
 	bool "Enable ARMv8 secure monitor firmware framework support for SPL"
arch/arm/cpu/armv8/fsl-layerscape/Kconfig +3 -3
index 4c5b38e3b659..2335c776c2ef 100644
@@ -440,8 +440,8 @@ config MAX_CPUS
 config EMC2305
 	bool "Fan controller"
 	help
-	 Enable the EMC2305 fan controller for configuration of fan
-	 speed.
+	  Enable the EMC2305 fan controller for configuration of fan
+	  speed.
 
 config QSPI_AHB_INIT
 	bool "Init the QSPI AHB bus"
@@ -548,7 +548,7 @@ config SYS_FSL_PCLK_DIV
 	help
 	  This is the divider that is used to derive Platform clock from
 	  Platform PLL, in another word:
-		Platform_clk = Platform_PLL_freq / this_divider
+	  Platform_clk = Platform_PLL_freq / this_divider
 
 config SYS_FSL_DSPI_CLK_DIV
 	int "DSPI clock divider"
arch/arm/mach-at91/Kconfig +6 -6
index 65e9d70f0840..19e3ac360dde 100644
@@ -150,9 +150,9 @@ config TARGET_SAM9X60EK
 	select BOARD_LATE_INIT
 
 config TARGET_SAM9X60_CURIOSITY
-        bool "SAM9X60 CURIOSITY board"
-        select SAM9X60
-        select BOARD_LATE_INIT
+	bool "SAM9X60 CURIOSITY board"
+	select SAM9X60
+	select BOARD_LATE_INIT
 
 config TARGET_SAM9X75_CURIOSITY
 	bool "SAM9X75 CURIOSITY board"
@@ -270,9 +270,9 @@ config TARGET_CORVUS
 	imply CMD_DM
 
 config TARGET_SAMA7G5EK
-       bool "SAMA7G5 EK board"
-       select SAMA7G5
-       select BOARD_LATE_INIT
+	bool "SAMA7G5 EK board"
+	select SAMA7G5
+	select BOARD_LATE_INIT
 
 config TARGET_SAMA7G54_CURIOSITY
 	bool "SAMA7G54 CURIOSITY board"
arch/arm/mach-imx/Kconfig +1 -1
index e40142265826..de91926fb03a 100644
@@ -129,7 +129,7 @@ config CMD_PRIBLOB
 	depends on HAS_CAAM && IMX_HAB
 	help
 	  This option enables the priblob command which can be used
-		to set the priblob setting to 0x3.
+	  to set the priblob setting to 0x3.
 
 config CMD_HDMIDETECT
 	bool "Support the 'hdmidet' command"
arch/arm/mach-imx/imx9/Kconfig +3 -3
index f072e6a9e3d1..7947a0a23f13 100644
@@ -1,9 +1,9 @@
 if ARCH_IMX9
 
 config AHAB_BOOT
-    bool "Support i.MX9 AHAB features"
-    help
-    This option enables the support for AHAB secure boot.
+	bool "Support i.MX9 AHAB features"
+	help
+	  This option enables the support for AHAB secure boot.
 
 config IMX9
 	bool
arch/arm/mach-imx/mx6/Kconfig +8 -8
index d198d9932f45..8c112fae173b 100644
@@ -95,10 +95,10 @@ config MX6_OCRAM_256KB
 	bool "Support 256KB OCRAM"
 	depends on MX6D || MX6Q
 	help
-	 Allows using the full 256KB size of the OCRAM on the MX6Q/MX6D series
-	 of chips, such as for SPL. The OCRAM of the Lite series of chips is
-	 only 128KB, so using this option will prevent the resulting code from
-	 working on those chips.
+	  Allows using the full 256KB size of the OCRAM on the MX6Q/MX6D series
+	  of chips, such as for SPL. The OCRAM of the Lite series of chips is
+	  only 128KB, so using this option will prevent the resulting code from
+	  working on those chips.
 
 config MX6_DDRCAL
 	bool "Include dynamic DDR calibration routines"
@@ -678,10 +678,10 @@ config TARGET_BRPPT2
 	select SUPPORT_SPL
 	select SPL_DM if SPL
 	select SPL_OF_CONTROL if SPL
-        help
-          Support
-          B&R BRPPT2 platform
-          based on Freescale's iMX6 SoC
+	help
+	  Support
+	  B&R BRPPT2 platform
+	  based on Freescale's iMX6 SoC
 
 config TARGET_O4_IMX6ULL_NANO
 	bool "O4-iMX6ULL-NANO"
arch/arm/mach-keystone/Kconfig +2 -2
index 9bf71a9b4530..82efc9f7c40f 100644
@@ -18,9 +18,9 @@ config TARGET_K2L_EVM
 
 config TARGET_K2G_EVM
 	bool "TI Keystone 2 Galileo EVM"
-        select BOARD_LATE_INIT
+	select BOARD_LATE_INIT
 	select SOC_K2G
-        select TI_I2C_BOARD_DETECT
+	select TI_I2C_BOARD_DETECT
 
 endchoice
 
arch/arm/mach-kirkwood/Kconfig +5 -5
index f1ccedba5d74..8d56ca1a6e33 100644
@@ -22,13 +22,13 @@ config KIRKWOOD_COMMON
 	select SYS_NS16550
 
 config HAS_CUSTOM_SYS_INIT_SP_ADDR
-        bool "Use a custom location for the initial stack pointer address"
-        default y
+	bool "Use a custom location for the initial stack pointer address"
+	default y
 
 config CUSTOM_SYS_INIT_SP_ADDR
-        hex "Static location for the initial stack pointer"
-        depends on HAS_CUSTOM_SYS_INIT_SP_ADDR
-        default 0x5ff000
+	hex "Static location for the initial stack pointer"
+	depends on HAS_CUSTOM_SYS_INIT_SP_ADDR
+	default 0x5ff000
 
 choice
 	prompt "Marvell Kirkwood board select"
arch/arm/mach-mediatek/Kconfig +14 -14
index 80f7185e929e..d6dcd080a9a1 100644
@@ -45,7 +45,7 @@ config TARGET_MT7981
 	help
 	  The MediaTek MT7981 is a ARM64-based SoC with a dual-core Cortex-A53.
 	  including UART, SPI, USB, NAND, SNFI, PWM, Gigabit Ethernet, I2C,
-          built-in Wi-Fi, and PCIe.
+	  built-in Wi-Fi, and PCIe.
 
 config TARGET_MT7986
 	bool "MediaTek MT7986 SoC"
@@ -89,9 +89,9 @@ config TARGET_MT8188
 	select ARM64
 	help
 	  The MediaTek MT8188 is a ARM64-based SoC with a dual-core Cortex-A78
-          cluster and a six-core Cortex-A55 cluster. It includes UART, SPI,
-          USB3.0 dual role, SD and MMC cards, UFS, PWM, I2C, I2S, S/PDIF, and
-          several LPDDR3 and LPDDR4 options.
+	  cluster and a six-core Cortex-A55 cluster. It includes UART, SPI,
+	  USB3.0 dual role, SD and MMC cards, UFS, PWM, I2C, I2S, S/PDIF, and
+	  several LPDDR3 and LPDDR4 options.
 
 config TARGET_MT8189
 	bool "MediaTek MT8189 SoC"
@@ -120,13 +120,13 @@ config TARGET_MT8365
 	  I2C, I2S, S/PDIF, and several LPDDR3 and LPDDR4 options.
 
 config TARGET_MT8512
-        bool "MediaTek MT8512 SoC"
-        select ARM64
-        help
-          The MediaTek MT8512 is a ARM64-based SoC with a dual-core Cortex-A53.
-          including UART, SPI, USB2.0 and OTG, SD and MMC cards, NAND, PWM,
-          IR RX, I2C, I2S, S/PDIF, and built-in Wi-Fi / Bluetooth digital
-          and several LPDDR3 and LPDDR4 options.
+	bool "MediaTek MT8512 SoC"
+	select ARM64
+	help
+	  The MediaTek MT8512 is a ARM64-based SoC with a dual-core Cortex-A53.
+	  including UART, SPI, USB2.0 and OTG, SD and MMC cards, NAND, PWM,
+	  IR RX, I2C, I2S, S/PDIF, and built-in Wi-Fi / Bluetooth digital
+	  and several LPDDR3 and LPDDR4 options.
 
 config TARGET_MT8516
 	bool "MediaTek MT8516 SoC"
@@ -154,7 +154,7 @@ config MTK_MEM_MAP_DDR_BASE_PHY
 	hex "DDR physical base address"
 	default 0x40000000
 	help
-		Target-specific DDR physical base address.
+	  Target-specific DDR physical base address.
 
 config MTK_MEM_MAP_DDR_SIZE
 	hex "DDR .size in mem_map"
@@ -164,14 +164,14 @@ config MTK_MEM_MAP_DDR_SIZE
 	default 0x40000000 if TARGET_MT7622 || TARGET_MT8512
 	default 0x20000000
 	help
-		Target-specific DDR region size in mem_map.
+	  Target-specific DDR region size in mem_map.
 
 config MTK_MEM_MAP_MMIO_SIZE
 	hex "MMIO .size in mem_map"
 	default 0x40000000 if TARGET_MT7622 || TARGET_MT7981 || TARGET_MT7986 || TARGET_MT7987 || TARGET_MT7988 || TARGET_MT8512
 	default 0x20000000
 	help
-		Target-specific MMIO region size in mem_map.
+	  Target-specific MMIO region size in mem_map.
 
 endif
 
arch/arm/mach-omap2/omap5/Kconfig +5 -5
index 5394529658bc..2a96a8418e25 100644
@@ -64,7 +64,7 @@ config OMAP_PLATFORM_RESET_TIME_MAX_USEC
 	  1: Time taken by the Osciallator to stop and restart
 	  2: PMIC OTP time
 	  3: Voltage ramp time, which can be derived using the PMIC slew rate
-	     and value of voltage ramp needed.
+	  and value of voltage ramp needed.
 
 if TARGET_DRA7XX_EVM || TARGET_AM57XX_EVM
 menu "Voltage Domain OPP selections"
@@ -72,7 +72,7 @@ menu "Voltage Domain OPP selections"
 choice
 	prompt "MPU Voltage Domain"
 	default DRA7_MPU_OPP_NOM
-        help
+	help
 	  Select the Operating Performance Point(OPP) for the MPU voltage
 	  domain on DRA7xx & AM57xx SoCs.
 
@@ -86,7 +86,7 @@ endchoice
 
 choice
 	prompt "DSPEVE Voltage Domain"
-        help
+	help
 	  Select the Operating Performance Point(OPP) for the DSPEVE voltage
 	  domain on DRA7xx & AM57xx SoCs.
 
@@ -110,7 +110,7 @@ endchoice
 
 choice
 	prompt "IVA Voltage Domain"
-        help
+	help
 	  Select the Operating Performance Point(OPP) for the IVA voltage
 	  domain on DRA7xx & AM57xx SoCs.
 
@@ -134,7 +134,7 @@ endchoice
 
 choice
 	prompt "GPU Voltage Domain"
-        help
+	help
 	  Select the Operating Performance Point(OPP) for the GPU voltage
 	  domain on DRA7xx & AM57xx SoCs.
 
arch/arm/mach-owl/Kconfig +6 -6
index 76d3998884d5..4d1bfb778ee1 100644
@@ -1,21 +1,21 @@
 if ARCH_OWL
 
 choice
-        prompt "Actions Semi Owl SoC Variant"
+	prompt "Actions Semi Owl SoC Variant"
         optional
 
 config MACH_S900
-        bool "Actions Semi S900 SoC"
-        select ARM64
+	bool "Actions Semi S900 SoC"
+	select ARM64
 
 config MACH_S700
-        bool "Actions Semi S700 SoC"
-        select ARM64
+	bool "Actions Semi S700 SoC"
+	select ARM64
 
 endchoice
 
 config TEXT_BASE
-        default 0x11000000
+	default 0x11000000
 
 config SYS_CONFIG_NAME
         default "owl-common"
arch/arm/mach-rockchip/Kconfig +8 -8
index 108713488af1..a3c2774b3785 100644
@@ -605,8 +605,8 @@ config SPL_ROCKCHIP_BACK_TO_BROM
 	depends on SPL
 	help
 	  Rockchip SoCs have ability to load SPL & U-Boot binary. If enabled,
-          SPL will return to the boot rom, which will then load the U-Boot
-          binary to keep going on.
+	  SPL will return to the boot rom, which will then load the U-Boot
+	  binary to keep going on.
 
 config TPL_ROCKCHIP_BACK_TO_BROM
 	bool "TPL returns to bootrom"
@@ -616,8 +616,8 @@ config TPL_ROCKCHIP_BACK_TO_BROM
 	depends on TPL
 	help
 	  Rockchip SoCs have ability to load SPL & U-Boot binary. If enabled,
-          SPL will return to the boot rom, which will then load the U-Boot
-          binary to keep going on.
+	  SPL will return to the boot rom, which will then load the U-Boot
+	  binary to keep going on.
 
 config ROCKCHIP_COMMON_BOARD
 	bool "Rockchip common board file"
@@ -659,7 +659,7 @@ config ROCKCHIP_BOOT_MODE_REG
 config ROCKCHIP_RK8XX_DISABLE_BOOT_ON_POWERON
 	bool "Disable device boot on power plug-in"
 	depends on PMIC_RK8XX
-	---help---
+	help
 	  Say Y here to prevent the device from booting up because of a plug-in
 	  event. When set, the device will boot briefly to determine why it was
 	  powered on, and if it was determined because of a plug-in event
@@ -687,7 +687,7 @@ config ROCKCHIP_BROM_HELPER
 	bool
 
 config SPL_ROCKCHIP_EARLYRETURN_TO_BROM
-        bool "SPL requires early-return (for RK3188-style BROM) to BROM"
+	bool "SPL requires early-return (for RK3188-style BROM) to BROM"
 	depends on SPL && ENABLE_ARM_SOC_BOOT0_HOOK
 	help
 	  Some Rockchip BROM variants (e.g. on the RK3188) load the
@@ -708,7 +708,7 @@ config ROCKCHIP_DISABLE_FORCE_JTAG
 	  Rockchip SoCs can automatically switch between jtag and sdmmc based
 	  on the following rules:
 	  - all the SDMMC pins including SDMMC_DET set as SDMMC function in
-	    GRF,
+	  GRF,
 	  - force_jtag bit in GRF is 1,
 	  - SDMMC_DET is low (no card detected),
 
@@ -725,7 +725,7 @@ config ROCKCHIP_DISABLE_FORCE_JTAG
 	  If unsure, say Y.
 
 config TPL_ROCKCHIP_EARLYRETURN_TO_BROM
-        bool "TPL requires early-return (for RK3188-style BROM) to BROM"
+	bool "TPL requires early-return (for RK3188-style BROM) to BROM"
 	depends on TPL && ENABLE_ARM_SOC_BOOT0_HOOK
 	help
 	  Some Rockchip BROM variants (e.g. on the RK3188) load the
arch/arm/mach-rockchip/px30/Kconfig +2 -2
index 2b57b1668942..adba1b49a52b 100644
@@ -18,7 +18,7 @@ config TARGET_PX30_CORE
 	  * PX30.Core is an EDIMM SOM based on Rockchip PX30 from Engicam.
 	  * EDIMM2.2 is a Form Factor Capacitive Evaluation Board from Engicam.
 	  * PX30.Core needs to mount on top of EDIMM2.2 for creating complete
-	    PX30.Core EDIMM2.2 Starter Kit.
+	  PX30.Core EDIMM2.2 Starter Kit.
 
 	  PX30.Core CTOUCH2:
 	  * PX30.Core is an EDIMM SOM based on Rockchip PX30 from Engicam.
@@ -39,7 +39,7 @@ config TARGET_RINGNECK_PX30
 	bool "Theobroma Systems PX30-uQ7 (Ringneck)"
 	help
 	  The PX30-uQ7 (Ringneck) SoM is a uQseven-compatible (40mmx70mm,
-          MXM-230 connector) system-on-module from Theobroma Systems[1],
+	  MXM-230 connector) system-on-module from Theobroma Systems[1],
 	  featuring the Rockchip PX30.
 
 	  It provides the following feature set:
arch/arm/mach-rockchip/rk322x/Kconfig +2 -2
index 9ad1f54055b3..ba6940939907 100644
@@ -27,10 +27,10 @@ config SPL_SERIAL
 	default y
 
 config TPL_STACK
-        default 0x10088000
+	default 0x10088000
 
 config TPL_TEXT_BASE
-        default 0x10081000
+	default 0x10081000
 
 source "board/rockchip/evb_rk3229/Kconfig"
 
arch/arm/mach-rockchip/rk3288/Kconfig +3 -3
index 128ee362f8a8..91e119108769 100644
@@ -91,7 +91,7 @@ config TARGET_MIQI_RK3288
 
 config TARGET_PHYCORE_RK3288
 	bool "phyCORE-RK3288"
-        select BOARD_LATE_INIT
+	select BOARD_LATE_INIT
 	help
 	  Add basic support for the PCM-947 carrier board, a RK3288 based
 	  development board made by PHYTEC. This board works in a combination
@@ -128,7 +128,7 @@ config TARGET_ROCK2
 
 config TARGET_TINKER_RK3288
 	bool "Tinker-RK3288"
-        select BOARD_LATE_INIT
+	select BOARD_LATE_INIT
 	select ROCKCHIP_COMMON_STACK_ADDR
 	select TPL
 	help
@@ -173,7 +173,7 @@ config SPL_SERIAL
 	default y
 
 config TPL_STACK
-        default 0xff718000
+	default 0xff718000
 
 config TPL_SYS_MALLOC_F_LEN
 	default 0x2000
arch/arm/mach-rockchip/rk3308/Kconfig +1 -1
index b8d25c525424..540ddc93cd0c 100644
@@ -5,7 +5,7 @@ config TARGET_EVB_RK3308
 	select BOARD_LATE_INIT
 
 config TARGET_ROC_RK3308_CC
-       bool "Firefly roc-rk3308-cc"
+	bool "Firefly roc-rk3308-cc"
 	select BOARD_LATE_INIT
 
 config ROCKCHIP_BOOT_MODE_REG
arch/arm/mach-rockchip/rk3368/Kconfig +9 -9
index a7be30bbd897..6c6ca02c3091 100644
@@ -13,14 +13,14 @@ config TARGET_GEEKBOX
 	bool "GeekBox"
 
 config TARGET_EVB_PX5
-        bool "Evb-PX5"
+	bool "Evb-PX5"
 	select ARCH_EARLY_INIT_R
-        help
-	 PX5 EVB is designed by Rockchip for automotive field
-         with integrated CVBS (TP2825) / MIPI DSI / CSI / LVDS
-         HDMI video input/output interface, audio codec ES8396,
-         WIFI/BT (on RTL8723BS), Gsensor BMA250E and light&proximity
-         sensor STK3410.
+	help
+	  PX5 EVB is designed by Rockchip for automotive field
+	  with integrated CVBS (TP2825) / MIPI DSI / CSI / LVDS
+	  HDMI video input/output interface, audio codec ES8396,
+	  WIFI/BT (on RTL8723BS), Gsensor BMA250E and light&proximity
+	  sensor STK3410.
 endchoice
 
 config ROCKCHIP_BOOT_MODE_REG
@@ -49,9 +49,9 @@ config SPL_STACK_R_ADDR
 	default 0x04000000
 
 config TPL_STACK
-        default 0xff8cffff
+	default 0xff8cffff
 
 config TPL_TEXT_BASE
-        default 0xff8c1000
+	default 0xff8c1000
 
 endif
arch/arm/mach-rockchip/rk3399/Kconfig +2 -2
index 5c21b08a5ae2..d84a9da8ed58 100644
@@ -145,10 +145,10 @@ config TPL_LDSCRIPT
 	default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
 
 config TPL_STACK
-        default 0xff8effff
+	default 0xff8effff
 
 config TPL_TEXT_BASE
-        default 0xff8c2000
+	default 0xff8c2000
 
 if BOOTCOUNT_LIMIT
 
arch/arm/mach-rockchip/rv1126/Kconfig +1 -1
index 43eeaa9c4493..d066df9a86e9 100644
@@ -47,7 +47,7 @@ config TPL_LDSCRIPT
 	default "arch/arm/mach-rockchip/u-boot-tpl.lds"
 
 config TPL_STACK
-        default 0xff718000
+	default 0xff718000
 
 config TPL_SYS_MALLOC_F_LEN
 	default 0x2000
arch/arm/mach-socfpga/Kconfig +2 -2
index fb98b6474425..a9b639a5ed99 100644
@@ -15,8 +15,8 @@ config SOCFPGA_SECURE_VAB_AUTH
 	select SHA512
 	select SPL_FIT_IMAGE_POST_PROCESS
 	help
-	 All images loaded from FIT will be authenticated by Secure Device
-	 Manager.
+	  All images loaded from FIT will be authenticated by Secure Device
+	  Manager.
 
 config SOCFPGA_SECURE_VAB_AUTH_ALLOW_NON_FIT_IMAGE
 	bool "Allow non-FIT VAB signed images"
arch/arm/mach-sti/Kconfig +1 -1
index d9e264024c8e..df26e7b8ef2c 100644
@@ -14,7 +14,7 @@ config TARGET_STIH410_B2260
 	  Specifications. Features:
 	  - 1GB DDR
 	  - On-Board USB combo WiFi/Bluetooth RTL8723BU
-	    with PCB soldered antenna
+	  with PCB soldered antenna
 	  - Ethernet 1000-BaseT
 	  - Sata
 	  - HDMI
arch/arm/mach-stm32mp/Kconfig +27 -27

107 lines not on this page · raw message

arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig +11 -11
index 647e0a4c2bf4..5ae57d133400 100644
@@ -10,10 +10,10 @@ config CMD_STM32PROG
 	imply DFU_MMC if MMC
 	imply DFU_MTD if MTD
 	help
-		activate a specific command stm32prog for STM32MP soc family
-		witch update the device with the tools STM32CubeProgrammer
-		NB: access to not volatile memory (NOR/NAND/SD/eMMC) is based
-		    on U-Boot DFU framework
+	  activate a specific command stm32prog for STM32MP soc family
+	  witch update the device with the tools STM32CubeProgrammer
+	  NB: access to not volatile memory (NOR/NAND/SD/eMMC) is based
+	  on U-Boot DFU framework
 
 config CMD_STM32PROG_USB
 	bool "support stm32prog over USB"
@@ -21,9 +21,9 @@ config CMD_STM32PROG_USB
 	depends on USB_GADGET_DOWNLOAD
 	default y
 	help
-		activate the command "stm32prog usb" for STM32MP soc family
-		witch update the device with the tools STM32CubeProgrammer,
-		using USB with DFU protocol
+	  activate the command "stm32prog usb" for STM32MP soc family
+	  witch update the device with the tools STM32CubeProgrammer,
+	  using USB with DFU protocol
 
 config CMD_STM32PROG_SERIAL
 	bool "support stm32prog over UART"
@@ -32,13 +32,13 @@ config CMD_STM32PROG_SERIAL
 	imply SILENT_CONSOLE
 	default y
 	help
-		activate the command "stm32prog serial" for STM32MP soc family
-		with the tools STM32CubeProgrammer using U-Boot serial device
-		and UART protocol.
+	  activate the command "stm32prog serial" for STM32MP soc family
+	  with the tools STM32CubeProgrammer using U-Boot serial device
+	  and UART protocol.
 
 config CMD_STM32PROG_OTP
 	bool "support stm32prog for OTP update"
 	depends on CMD_STM32PROG
 	default y if ARM_SMCCC || OPTEE
 	help
-		Support the OTP update with the command "stm32prog" for STM32MP
+	  Support the OTP update with the command "stm32prog" for STM32MP
arch/arm/mach-sunxi/Kconfig +225 -225

761 lines not on this page · raw message

arch/arm/mach-uniphier/Kconfig +1 -1
index c570fb3294d0..d2fa72f47244 100644
@@ -4,7 +4,7 @@ config SYS_CONFIG_NAME
 	default "uniphier"
 
 choice
-        prompt "UniPhier SoC select"
+	prompt "UniPhier SoC select"
 
 config ARCH_UNIPHIER_V7_MULTI
 	bool "UniPhier V7 SoCs"

--
2.39.5

#13 lore raw

PATCH 7/8 Kconfig: arch: restyle

In reply to Johan Jonker

Restyle all Kconfigs other then "arm":
Menu entries : no space left
Menu attributes: 1 TAB
Help text : 1 TAB + 2 spaces

---
 arch/Kconfig                     | 16 ++++++------
 arch/m68k/Kconfig                | 34 ++++++++++++------------
 arch/mips/Kconfig                |  8 +++---
 arch/mips/mach-octeon/Kconfig    |  8 +++---
 arch/powerpc/cpu/mpc85xx/Kconfig | 44 ++++++++++++++++----------------
 arch/x86/Kconfig                 | 20 +++++++--------
 6 files changed, 65 insertions(+), 65 deletions(-)
arch/Kconfig +8 -8
index e28e4c4bce73..8d63afeb138e 100644
@@ -11,14 +11,14 @@ config HAVE_ARCH_IOREMAP
 config HAVE_SETJMP
 	bool
 	help
-	 The architecture supports setjmp() and longjmp().
+	  The architecture supports setjmp() and longjmp().
 
 config HAVE_INITJMP
 	bool
 	depends on HAVE_SETJMP
 	help
-	 The architecture supports initjmp(), a non-standard companion to
-	 setjmp() and longjmp().
+	  The architecture supports initjmp(), a non-standard companion to
+	  setjmp() and longjmp().
 
 config SUPPORT_BIG_ENDIAN
 	bool
@@ -457,11 +457,11 @@ config SYS_CONFIG_NAME
 config SYS_DISABLE_DCACHE_OPS
 	bool
 	help
-	 This option disables dcache flush and dcache invalidation
-	 operations. For example, on coherent systems where cache
-	 operatios are not required, enable this option to avoid them.
-	 Note that, its up to the individual architectures to implement
-	 this functionality.
+	  This option disables dcache flush and dcache invalidation
+	  operations. For example, on coherent systems where cache
+	  operatios are not required, enable this option to avoid them.
+	  Note that, its up to the individual architectures to implement
+	  this functionality.
 
 config SYS_IMMR
 	hex "Address for the Internal Memory-Mapped Registers (IMMR) window"
arch/m68k/Kconfig +17 -17
index 00e89bd0a625..c1b9dac014c2 100644
@@ -11,56 +11,56 @@ config STATIC_RELA
 config MCF520x
 	select OF_CONTROL
 	select DM
-        select DM_SERIAL
+	select DM_SERIAL
 	select ARCH_COLDFIRE
 	bool
 
 config MCF52x2
 	select OF_CONTROL
 	select DM
-        select DM_SERIAL
+	select DM_SERIAL
 	select ARCH_COLDFIRE
 	bool
 
 config MCF523x
 	select OF_CONTROL
 	select DM
-        select DM_SERIAL
+	select DM_SERIAL
 	select ARCH_COLDFIRE
 	bool
 
 config MCF530x
 	select OF_CONTROL
 	select DM
-        select DM_SERIAL
+	select DM_SERIAL
 	select ARCH_COLDFIRE
 	bool
 
 config MCF5301x
 	select OF_CONTROL
 	select DM
-        select DM_SERIAL
+	select DM_SERIAL
 	select ARCH_COLDFIRE
 	bool
 
 config MCF532x
 	select OF_CONTROL
 	select DM
-        select DM_SERIAL
+	select DM_SERIAL
 	select ARCH_COLDFIRE
 	bool
 
 config MCF537x
 	select OF_CONTROL
 	select DM
-        select DM_SERIAL
+	select DM_SERIAL
 	select ARCH_COLDFIRE
 	bool
 
 config MCF5441x
 	select OF_CONTROL
 	select DM
-        select DM_SERIAL
+	select DM_SERIAL
 	select ARCH_COLDFIRE
 	select CREATE_ARCH_SYMLINK
 	bool
@@ -191,17 +191,17 @@ config TARGET_AMCORE
 	select M5307
 
 config TARGET_STMARK2
-        bool "Support stmark2"
-        select CF_DSPI
-        select M54418
+	bool "Support stmark2"
+	select CF_DSPI
+	select M54418
 
 config TARGET_QEMU_M68K
-    bool "Support QEMU m68k virt"
-    select M68040
-    imply CMD_DM
-    help
-      This target supports the QEMU m68k virtual machine (-M virt).
-      It simulates a Motorola 68040 CPU with Goldfish peripherals.
+	bool "Support QEMU m68k virt"
+	select M68040
+	imply CMD_DM
+	help
+	  This target supports the QEMU m68k virtual machine (-M virt).
+	  It simulates a Motorola 68040 CPU with Goldfish peripherals.
 
 endchoice
 
arch/mips/Kconfig +4 -4
index 36612756294b..75913d4f1aeb 100644
@@ -267,8 +267,8 @@ config CPU_MIPS64_OCTEON
 	select 64BIT
 	select SPL_64BIT if SPL
 	help
-	 Choose this option for Marvell Octeon CPUs.  These CPUs are between
-	 MIPS64 R5 and R6 with other extensions.
+	  Choose this option for Marvell Octeon CPUs.  These CPUs are between
+	  MIPS64 R5 and R6 with other extensions.
 
 endchoice
 
@@ -351,7 +351,7 @@ config MIPS_RELOCATION_TABLE_SIZE
 	range 0x100 0x10000
 	default "0xc000" if TARGET_MALTA
 	default "0x8000"
-	---help---
+	help
 	  A table of relocation data will be appended to the U-Boot binary
 	  and parsed in relocate_code() to fix up all offsets in the relocated
 	  U-Boot.
@@ -526,7 +526,7 @@ config MIPS_SRAM_INIT
 config DMA_ADDR_T_64BIT
 	bool
 	help
-	 Select this to enable 64-bit DMA addressing
+	  Select this to enable 64-bit DMA addressing
 
 config SYS_DCACHE_SIZE
 	int
arch/mips/mach-octeon/Kconfig +4 -4
index 6105cdcf96ea..cd1e377c79de 100644
@@ -25,8 +25,8 @@ choice
 config SOC_OCTEON3
 	bool "Octeon III family"
 	help
-	 This selects the Octeon III SoC family CN70xx, CN73XX, CN78xx
-	 and CNF75XX.
+	  This selects the Octeon III SoC family CN70xx, CN73XX, CN78xx
+	  and CNF75XX.
 
 endchoice
 
@@ -38,14 +38,14 @@ config TARGET_OCTEON_EBB7304
 	bool "Marvell Octeon EBB7304"
 	select OCTEON_CN73XX
 	help
-	 Choose this for the Octeon EBB7304 board
+	  Choose this for the Octeon EBB7304 board
 
 config TARGET_OCTEON_NIC23
 	bool "Marvell Octeon NIC23"
 	select ARCH_MISC_INIT
 	select OCTEON_CN73XX
 	help
-	 Choose this for the Octeon NIC23 board
+	  Choose this for the Octeon NIC23 board
 
 endchoice
 
arch/powerpc/cpu/mpc85xx/Kconfig +22 -22

104 lines not on this page · raw message

arch/x86/Kconfig +10 -10
index 8f21b78dbe45..ec4d484a6691 100644
@@ -44,9 +44,9 @@ config X86_RUN_64BIT_NO_SPL
 	bool "64-bit"
 	select X86_64
 	help
-          Build U-Boot as a 64-bit binary without SPL. As U-Boot enters
-          in 64-bit mode, the assumption is that the silicon is fully
-          initialized (MP, page tables, etc.).
+	  Build U-Boot as a 64-bit binary without SPL. As U-Boot enters
+	  in 64-bit mode, the assumption is that the silicon is fully
+	  initialized (MP, page tables, etc.).
 
 endchoice
 
@@ -585,11 +585,11 @@ config DCACHE_RAM_MRC_VAR_SIZE
 	  not boot.
 
 config HAVE_REFCODE
-        bool "Add a Reference Code binary"
-        help
-          Select this option to add a Reference Code binary to the resulting
-          U-Boot image. This is an Intel binary blob that handles system
-          initialisation, in this case the PCH and System Agent.
+	bool "Add a Reference Code binary"
+	help
+	  Select this option to add a Reference Code binary to the resulting
+	  U-Boot image. This is an Intel binary blob that handles system
+	  initialisation, in this case the PCH and System Agent.
 
           Note: Without this binary (on platforms that need it such as
           broadwell) U-Boot will be missing some critical setup steps.
@@ -617,8 +617,8 @@ config SMP_AP_WORK
 	bool
 	depends on SMP
 	help
-	 Allow APs to do other work after initialisation instead of going
-	 to sleep.
+	  Allow APs to do other work after initialisation instead of going
+	  to sleep.
 
 config MAX_CPUS
 	int "Maximum number of CPUs permitted"

--
2.39.5

#15 lore raw

PATCH 8/8 Kconfig: board: restyle

In reply to Johan Jonker

Restyle all Kconfigs:
Menu entries : no space left
Menu attributes: 1 TAB
Help text : 1 TAB + 2 spaces

---
 board/alliedtelesis/SBx81LIFKW/Kconfig   |  2 +-
 board/alliedtelesis/SBx81LIFXCAT/Kconfig |  2 +-
 board/beagle/beagleboneai64/Kconfig      |  4 +-
 board/beagle/beagleplay/Kconfig          | 12 ++---
 board/beagle/beagley-ai/Kconfig          |  2 +-
 board/cortina/common/Kconfig             | 10 ++--
 board/cortina/presidio-asic/Kconfig      |  2 +-
 board/firefly/roc-pc-rk3399/Kconfig      |  2 +-
 board/imgtec/boston/Kconfig              |  2 +-
 board/logicpd/imx6/Kconfig               |  2 +-
 board/nxp/ls1012ardb/Kconfig             |  2 +-
 board/nxp/mx6memcal/Kconfig              | 60 ++++++++++++------------
 board/out4/o4-imx6ull-nano/Kconfig       | 20 ++++----
 board/phytec/common/Kconfig              | 18 +++----
 board/phytec/common/k3/Kconfig           |  4 +-
 board/phytec/phycore_am62ax/Kconfig      |  4 +-
 board/phytec/phycore_am62x/Kconfig       | 40 ++++++++--------
 board/phytec/phycore_am64x/Kconfig       | 34 +++++++-------
 board/phytec/phycore_am68x/Kconfig       |  4 +-
 board/samsung/axy17lte/Kconfig           | 12 ++---
 board/siemens/draco/Kconfig              |  4 +-
 board/socionext/developerbox/Kconfig     |  8 ++--
 board/sysam/amcore/Kconfig               |  6 +--
 board/ti/am62ax/Kconfig                  |  2 +-
 board/ti/am62px/Kconfig                  |  2 +-
 board/ti/am62x/Kconfig                   |  4 +-
 board/ti/am64x/Kconfig                   |  4 +-
 board/ti/am65x/Kconfig                   |  4 +-
 board/ti/common/Kconfig                  |  4 +-
 board/ti/j7200/Kconfig                   |  4 +-
 board/ti/j721e/Kconfig                   |  4 +-
 board/ti/j721s2/Kconfig                  |  4 +-
 board/ti/j722s/Kconfig                   |  2 +-
 board/ti/j784s4/Kconfig                  |  8 ++--
 board/toradex/apalis_imx6/Kconfig        | 12 ++---
 board/toradex/aquila-am69/Kconfig        |  4 +-
 board/toradex/colibri_imx6/Kconfig       |  2 +-
 board/toradex/verdin-am62p/Kconfig       | 28 +++++------
 board/traverse/common/Kconfig            |  4 +-
 board/xilinx/Kconfig                     |  2 +-
 40 files changed, 175 insertions(+), 175 deletions(-)
board/alliedtelesis/SBx81LIFKW/Kconfig +1 -1
index 5c2609b7f464..49516b7f0078 100644
@@ -4,7 +4,7 @@ config SYS_BOARD
        default "SBx81LIFKW"
 
 config SYS_VENDOR
-       default "alliedtelesis"
+	default "alliedtelesis"
 
 config SYS_CONFIG_NAME
        default "SBx81LIFKW"
board/alliedtelesis/SBx81LIFXCAT/Kconfig +1 -1
index 524c2900892e..20e02144d3a0 100644
@@ -4,7 +4,7 @@ config SYS_BOARD
        default "SBx81LIFXCAT"
 
 config SYS_VENDOR
-       default "alliedtelesis"
+	default "alliedtelesis"
 
 config SYS_CONFIG_NAME
        default "SBx81LIFXCAT"
board/beagle/beagleboneai64/Kconfig +2 -2
index 0f21582614d5..7d7077e9f28e 100644
@@ -34,7 +34,7 @@ config SYS_BOARD
        default "beagleboneai64"
 
 config SYS_VENDOR
-       default "beagle"
+	default "beagle"
 
 config SYS_CONFIG_NAME
        default "beagleboneai64"
@@ -49,7 +49,7 @@ config SYS_BOARD
        default "beagleboneai64"
 
 config SYS_VENDOR
-       default "beagle"
+	default "beagle"
 
 config SYS_CONFIG_NAME
        default "beagleboneai64"
board/beagle/beagleplay/Kconfig +6 -6
index 592b53e493c0..fcc6a5aa4960 100644
@@ -30,13 +30,13 @@ endchoice
 if TARGET_AM625_A53_BEAGLEPLAY
 
 config SYS_BOARD
-       default "beagleplay"
+	default "beagleplay"
 
 config SYS_VENDOR
-       default "beagle"
+	default "beagle"
 
 config SYS_CONFIG_NAME
-       default "beagleplay"
+	default "beagleplay"
 
 source "board/ti/common/Kconfig"
 
@@ -45,13 +45,13 @@ endif
 if TARGET_AM625_R5_BEAGLEPLAY
 
 config SYS_BOARD
-       default "beagleplay"
+	default "beagleplay"
 
 config SYS_VENDOR
-       default "beagle"
+	default "beagle"
 
 config SYS_CONFIG_NAME
-       default "beagleplay"
+	default "beagleplay"
 
 config SPL_LDSCRIPT
 	default "arch/arm/mach-omap2/u-boot-spl.lds"
board/beagle/beagley-ai/Kconfig +1 -1
index bf9539821515..07aedc2ea3f9 100644
@@ -9,7 +9,7 @@ config SYS_BOARD
        default "beagley-ai"
 
 config SYS_VENDOR
-       default "beagle"
+	default "beagle"
 
 config SYS_CONFIG_NAME
        default "beagley_ai"
board/cortina/common/Kconfig +5 -5
index 00c709e70f0d..bf5229abd75a 100644
@@ -1,6 +1,6 @@
 config CORTINA_PLATFORM
-       bool "Cortina-Access Platform"
-       default y
-       help
-         Select this option for Cortina-Access platforms
-	 to enables selection of CAxxxx drivers
+	bool "Cortina-Access Platform"
+	default y
+	help
+	  Select this option for Cortina-Access platforms
+	  to enables selection of CAxxxx drivers
board/cortina/presidio-asic/Kconfig +1 -1
index 8e6f6cfa27ca..7bf8b78742ab 100644
@@ -1,7 +1,7 @@
 if TARGET_PRESIDIO_ASIC
 config BIT64
        bool
-       default y
+	default y
 
 select SOC_CA7774
 
board/firefly/roc-pc-rk3399/Kconfig +1 -1
index c211e9d3c796..b800f7d2102a 100644
@@ -4,7 +4,7 @@ config SYS_BOARD
         default "roc-pc-rk3399"
 
 config SYS_VENDOR
-        default "firefly"
+	default "firefly"
 
 config SYS_CONFIG_NAME
         default "roc-pc-rk3399"
board/imgtec/boston/Kconfig +1 -1
index 965847d9650d..d7d8bfd0a761 100644
@@ -11,7 +11,7 @@ config SYS_CONFIG_NAME
 
 
 config ENV_SOURCE_FILE
-       default "boston"
+	default "boston"
 
 config TEXT_BASE
 	default 0x9fc00000 if 32BIT
board/logicpd/imx6/Kconfig +1 -1
index f5e2f58b12be..dfc196124f3a 100644
@@ -4,7 +4,7 @@ config SYS_BOARD
        default "imx6"
 
 config SYS_VENDOR
-       default "logicpd"
+	default "logicpd"
 
 config SYS_CONFIG_NAME
        default "imx6_logic"
board/nxp/ls1012ardb/Kconfig +1 -1
index bbe5ce21109e..ff5a57aaa412 100644
@@ -63,7 +63,7 @@ config SYS_BOARD
         default "ls1012ardb"
 
 config SYS_VENDOR
-        default "nxp"
+	default "nxp"
 
 config SYS_SOC
         default "fsl-layerscape"
board/nxp/mx6memcal/Kconfig +30 -30

72 lines not on this page · raw message

board/out4/o4-imx6ull-nano/Kconfig +10 -10
index e2ab80b6d4d8..1b948fdc9ff3 100644
@@ -13,21 +13,21 @@ choice
 	prompt "Memory model"
 	default K4B4G1646D_BCMA
 	help
-	    Memory type setup.
+	  Memory type setup.
 
 	    Please choose correct memory model here.
 
 config K4B4G1646D_BCMA
 	bool "K4B4G1646D-BCMA 256Mx16 (512 MiB/chip)"
 	help
-	    Samsung DDR3 SDRAM
-	    K4B4G1646D-BCMA
+	  Samsung DDR3 SDRAM
+	  K4B4G1646D-BCMA
 
 config MT41K256M16HA_125E
 	bool "MT41K256M16HA-125:E 256Mx16 (512 MiB/chip)"
 	help
-	    Micron DDR3L SDRAM
-	    MT41K256M16HA-125:E
+	  Micron DDR3L SDRAM
+	  MT41K256M16HA-125:E
 
 endchoice
 
@@ -35,21 +35,21 @@ choice
 	prompt "Mainboard model"
 	default O4_IMX_NANO
 	help
-	    Mainboard setup.
+	  Mainboard setup.
 
 	    Please choose correct main board model here.
 
 config O4_IMX_NANO
 	bool "O4-iMX-NANO"
 	help
-	    A baseboard for EV-iMX280-NANO module:
-	    https://out4.ru/products/board/18-o4-imx-nano.html
+	  A baseboard for EV-iMX280-NANO module:
+	  https://out4.ru/products/board/18-o4-imx-nano.html
 
 config EV_IMX280_NANO_X_MB
 	bool "EV-IMX280-NANO-X-MB"
 	help
-	    A simple baseboard for EV-iMX280-NANO module:
-	    http://evodbg.net/products/mx28-eval-kits/14-ev-imx280-nano-x-mb.html
+	  A simple baseboard for EV-iMX280-NANO module:
+	  http://evodbg.net/products/mx28-eval-kits/14-ev-imx280-nano-x-mb.html
 
 endchoice
 
board/phytec/common/Kconfig +9 -9
index 6afd03086f7a..87fa70632e5d 100644
@@ -2,14 +2,14 @@ config PHYTEC_SOM_DETECTION
 	bool "Support SoM detection for PHYTEC platforms"
 	select SPL_CRC8 if SPL
 	help
-	   Support of I2C EEPROM based SoM detection.
+	  Support of I2C EEPROM based SoM detection.
 
 config PHYTEC_SOM_DETECTION_BLOCKS
 	bool "Extend SoM detection with block support"
 	depends on PHYTEC_SOM_DETECTION
 	help
-	   Extend the I2C EEPROM based SoM detection with API v3. This API
-	   introduces blocks with different payloads.
+	  Extend the I2C EEPROM based SoM detection with API v3. This API
+	  introduces blocks with different payloads.
 
 config PHYTEC_IMX8M_SOM_DETECTION
 	bool "Support SoM detection for i.MX8M PHYTEC platforms"
@@ -35,8 +35,8 @@ config PHYTEC_AM62_SOM_DETECTION
 	depends on SPL_I2C && DM_I2C
 	default y
 	help
-	   Support of I2C EEPROM based SoM detection. Supported
-	   for PHYTEC AM62x boards.
+	  Support of I2C EEPROM based SoM detection. Supported
+	  for PHYTEC AM62x boards.
 
 config PHYTEC_AM62A_SOM_DETECTION
 	bool "Support SoM detection for AM62Ax PHYTEC platforms"
@@ -46,8 +46,8 @@ config PHYTEC_AM62A_SOM_DETECTION
 	depends on SPL_I2C && DM_I2C
 	default y
 	help
-	   Support of I2C EEPROM based SoM detection. Supported
-	   for PHYTEC AM62Ax boards.
+	  Support of I2C EEPROM based SoM detection. Supported
+	  for PHYTEC AM62Ax boards.
 
 config PHYTEC_AM64_SOM_DETECTION
 	bool "Support SoM detection for AM64x PHYTEC platforms"
@@ -57,8 +57,8 @@ config PHYTEC_AM64_SOM_DETECTION
 	depends on SPL_I2C && DM_I2C
 	default y
 	help
-	   Support of I2C EEPROM based SoM detection. Supported
-	   for PHYTEC AM64x boards.
+	  Support of I2C EEPROM based SoM detection. Supported
+	  for PHYTEC AM64x boards.
 
 config PHYTEC_EEPROM_BUS
 	int "Board EEPROM's I2C bus number"
board/phytec/common/k3/Kconfig +2 -2
index 282f4b797429..4bbe1a5ec3cc 100644
@@ -1,5 +1,5 @@
 config PHYTEC_K3_DDR_PATCH
 	bool "Patch DDR timings on PHYTEC K3 SoMs"
 	help
-	   Allow to override default DDR timings prior to
-	   DDRSS driver probing.
+	  Allow to override default DDR timings prior to
+	  DDRSS driver probing.
board/phytec/phycore_am62ax/Kconfig +2 -2
index 516dc8e20201..e7943c51dbc2 100644
@@ -9,7 +9,7 @@ config SYS_BOARD
        default "phycore_am62ax"
 
 config SYS_VENDOR
-       default "phytec"
+	default "phytec"
 
 config SYS_CONFIG_NAME
        default "phycore_am62ax"
@@ -24,7 +24,7 @@ config SYS_BOARD
        default "phycore_am62ax"
 
 config SYS_VENDOR
-       default "phytec"
+	default "phytec"
 
 config SYS_CONFIG_NAME
        default "phycore_am62ax"
board/phytec/phycore_am62x/Kconfig +20 -20
index ecee5873c0c9..feacc3d6d402 100644
@@ -9,7 +9,7 @@ config SYS_BOARD
        default "phycore_am62x"
 
 config SYS_VENDOR
-       default "phytec"
+	default "phytec"
 
 config SYS_CONFIG_NAME
        default "phycore_am62x"
@@ -24,7 +24,7 @@ config SYS_BOARD
        default "phycore_am62x"
 
 config SYS_VENDOR
-       default "phytec"
+	default "phytec"
 
 config SYS_CONFIG_NAME
        default "phycore_am62x"
@@ -38,31 +38,31 @@ source "board/phytec/common/k3/Kconfig"
 endif
 
 config PHYCORE_AM62X_RAM_SIZE_FIX
-        bool "Set phyCORE-AM62x RAM size fix instead of detecting"
-        default false
-        help
-          RAM size is automatic being detected with the help of
-          the EEPROM introspection data. Set RAM size to a fix value
-          instead.
+	bool "Set phyCORE-AM62x RAM size fix instead of detecting"
+	default false
+	help
+	  RAM size is automatic being detected with the help of
+	  the EEPROM introspection data. Set RAM size to a fix value
+	  instead.
 
 choice
-        prompt "phyCORE-AM62x RAM size"
-        depends on PHYCORE_AM62X_RAM_SIZE_FIX
-        default PHYCORE_AM62X_RAM_SIZE_2GB
+	prompt "phyCORE-AM62x RAM size"
+	depends on PHYCORE_AM62X_RAM_SIZE_FIX
+	default PHYCORE_AM62X_RAM_SIZE_2GB
 
 config PHYCORE_AM62X_RAM_SIZE_1GB
-        bool "1GB RAM"
-        help
-          Set RAM size fix to 1GB for phyCORE-AM62x.
+	bool "1GB RAM"
+	help
+	  Set RAM size fix to 1GB for phyCORE-AM62x.
 
 config PHYCORE_AM62X_RAM_SIZE_2GB
-        bool "2GB RAM"
-        help
-          Set RAM size fix to 2GB for phyCORE-AM62x.
+	bool "2GB RAM"
+	help
+	  Set RAM size fix to 2GB for phyCORE-AM62x.
 
 config PHYCORE_AM62X_RAM_SIZE_4GB
-        bool "4GB RAM"
-        help
-          Set RAM size fix to 4GB for phyCORE-AM62x.
+	bool "4GB RAM"
+	help
+	  Set RAM size fix to 4GB for phyCORE-AM62x.
 
 endchoice
board/phytec/phycore_am64x/Kconfig +17 -17
index a709b71ba4dc..a4d25b84b96c 100644
@@ -12,7 +12,7 @@ config SYS_BOARD
        default "phycore_am64x"
 
 config SYS_VENDOR
-       default "phytec"
+	default "phytec"
 
 config SYS_CONFIG_NAME
        default "phycore_am64x"
@@ -27,7 +27,7 @@ config SYS_BOARD
        default "phycore_am64x"
 
 config SYS_VENDOR
-       default "phytec"
+	default "phytec"
 
 config SYS_CONFIG_NAME
        default "phycore_am64x"
@@ -37,26 +37,26 @@ source "board/phytec/common/Kconfig"
 endif
 
 config PHYCORE_AM64X_RAM_SIZE_FIX
-        bool "Set phyCORE-AM64x RAM size fix instead of detecting"
-        default false
-        help
-          RAM size is automatic being detected with the help of
-          the EEPROM introspection data. Set RAM size to a fix value
-          instead.
+	bool "Set phyCORE-AM64x RAM size fix instead of detecting"
+	default false
+	help
+	  RAM size is automatic being detected with the help of
+	  the EEPROM introspection data. Set RAM size to a fix value
+	  instead.
 
 choice
-        prompt "phyCORE-AM64x RAM size"
-        depends on PHYCORE_AM64X_RAM_SIZE_FIX
-        default PHYCORE_AM64X_RAM_SIZE_2GB
+	prompt "phyCORE-AM64x RAM size"
+	depends on PHYCORE_AM64X_RAM_SIZE_FIX
+	default PHYCORE_AM64X_RAM_SIZE_2GB
 
 config PHYCORE_AM64X_RAM_SIZE_1GB
-        bool "1GB RAM"
-        help
-          Set RAM size fix to 1GB for phyCORE-AM64x.
+	bool "1GB RAM"
+	help
+	  Set RAM size fix to 1GB for phyCORE-AM64x.
 
 config PHYCORE_AM64X_RAM_SIZE_2GB
-        bool "2GB RAM"
-        help
-          Set RAM size fix to 2GB for phyCORE-AM64x.
+	bool "2GB RAM"
+	help
+	  Set RAM size fix to 2GB for phyCORE-AM64x.
 
 endchoice
board/phytec/phycore_am68x/Kconfig +2 -2
index 37912fb4ed32..d82cdaf819b9 100644
@@ -9,7 +9,7 @@ config SYS_BOARD
        default "phycore_am68x"
 
 config SYS_VENDOR
-       default "phytec"
+	default "phytec"
 
 config SYS_CONFIG_NAME
        default "phycore_am68x"
@@ -27,7 +27,7 @@ config SYS_BOARD
        default "phycore_am68x"
 
 config SYS_VENDOR
-       default "phytec"
+	default "phytec"
 
 config SYS_CONFIG_NAME
        default "phycore_am68x"
board/samsung/axy17lte/Kconfig +6 -6
index 64a4ffa7e673..d98da0ecab5c 100644
@@ -11,8 +11,8 @@ config SYS_CONFIG_NAME
 	default "exynos78x0-common"
 
 config EXYNOS7880
-    bool "Exynos 7880 SOC support"
-    default y
+	bool "Exynos 7880 SOC support"
+	default y
 endif
 
 if TARGET_A7Y17LTE
@@ -28,8 +28,8 @@ config SYS_CONFIG_NAME
 	default "exynos78x0-common"
 
 config EXYNOS7880
-    bool "Exynos 7880 SOC support"
-    default y
+	bool "Exynos 7880 SOC support"
+	default y
 endif
 
 if TARGET_A3Y17LTE
@@ -45,6 +45,6 @@ config SYS_CONFIG_NAME
 	default "exynos78x0-common"
 
 config EXYNOS7870
-    bool "Exynos 7870 SOC support"
-    default y
+	bool "Exynos 7870 SOC support"
+	default y
 endif
board/siemens/draco/Kconfig +2 -2
index 9d45c4239be4..3f2e75b03fe2 100644
@@ -33,10 +33,10 @@ endif
 if TARGET_ETAMIN
 
 config SYS_BOARD
-        default "draco"
+	default "draco"
 
 config SYS_VENDOR
-        default "siemens"
+	default "siemens"
 
 config SYS_SOC
         default "am33xx"
board/socionext/developerbox/Kconfig +4 -4
index c181d26a44a6..1b1c9181bad7 100644
@@ -11,10 +11,10 @@ config TARGET_DEVELOPERBOX
 	select SYS_DISABLE_DCACHE_OPS
 	select OF_BOARD_SETUP
 	help
-	 Choose this option if you build the U-Boot for the DeveloperBox
-	 96boards Enterprise Edition.
-	 This board will booted from SCP firmware and it enables SMMU, thus
-	 the dcache is updated automatically when DMA operation is executed.
+	  Choose this option if you build the U-Boot for the DeveloperBox
+	  96boards Enterprise Edition.
+	  This board will booted from SCP firmware and it enables SMMU, thus
+	  the dcache is updated automatically when DMA operation is executed.
 endchoice
 
 config SYS_SOC
board/sysam/amcore/Kconfig +3 -3
index b5c81dda237d..7efd857dc32c 100644
@@ -4,13 +4,13 @@ config SYS_CPU
         default "mcf530x"
 
 config SYS_BOARD
-        default "amcore"
+	default "amcore"
 
 config SYS_VENDOR
-        default "sysam"
+	default "sysam"
 
 config SYS_CONFIG_NAME
-        default "amcore"
+	default "amcore"
 
 endif
 
board/ti/am62ax/Kconfig +1 -1
index 51e7b3e0eaba..a80ea9149b1f 100644
@@ -9,7 +9,7 @@ config SYS_BOARD
        default "am62ax"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "am62ax_evm"
board/ti/am62px/Kconfig +1 -1
index 9d95ffd9b290..1011b89d75f6 100644
@@ -9,7 +9,7 @@ config SYS_BOARD
        default "am62px"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "am62px_evm"
board/ti/am62x/Kconfig +2 -2
index 610dacfdc085..eb54154d1ce0 100644
@@ -9,7 +9,7 @@ config SYS_BOARD
        default "am62x"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "am62x_evm"
@@ -24,7 +24,7 @@ config SYS_BOARD
        default "am62x"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "am62x_evm"
board/ti/am64x/Kconfig +2 -2
index b873476a9d5f..c727b7f8c161 100644
@@ -8,7 +8,7 @@ config SYS_BOARD
        default "am64x"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "am64x_evm"
@@ -23,7 +23,7 @@ config SYS_BOARD
        default "am64x"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "am64x_evm"
board/ti/am65x/Kconfig +2 -2
index eb47a25c70a5..fe3fa13dc4b4 100644
@@ -9,7 +9,7 @@ config SYS_BOARD
        default "am65x"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "am65x_evm"
@@ -24,7 +24,7 @@ config SYS_BOARD
        default "am65x"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "am65x_evm"
board/ti/common/Kconfig +2 -2
index 149909093b38..6762d08d4001 100644
@@ -1,8 +1,8 @@
 config TI_I2C_BOARD_DETECT
 	bool "Support for Board detection for TI platforms"
 	help
-	   Support for detection board information on Texas Instrument's
-	   Evaluation Boards which have I2C based EEPROM detection
+	  Support for detection board information on Texas Instrument's
+	  Evaluation Boards which have I2C based EEPROM detection
 
 config EEPROM_BUS_ADDRESS
 	int "Board EEPROM's I2C bus address"
board/ti/j7200/Kconfig +2 -2
index 093d23e7bf85..38edbe129684 100644
@@ -9,7 +9,7 @@ config SYS_BOARD
        default "j7200"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "j721e_evm"
@@ -27,7 +27,7 @@ config SYS_BOARD
        default "j7200"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "j721e_evm"
board/ti/j721e/Kconfig +2 -2
index 7c7e23988d80..d85056e65bbc 100644
@@ -9,7 +9,7 @@ config SYS_BOARD
        default "j721e"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "j721e_evm"
@@ -27,7 +27,7 @@ config SYS_BOARD
        default "j721e"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "j721e_evm"
board/ti/j721s2/Kconfig +2 -2
index 40853a8fd667..34a3e6ef187e 100644
@@ -9,7 +9,7 @@ config SYS_BOARD
        default "j721s2"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "j721s2_evm"
@@ -27,7 +27,7 @@ config SYS_BOARD
        default "j721s2"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "j721s2_evm"
board/ti/j722s/Kconfig +1 -1
index 68c214e473be..e819ba2f554f 100644
@@ -9,7 +9,7 @@ config SYS_BOARD
        default "j722s"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "j722s_evm"
board/ti/j784s4/Kconfig +4 -4
index de95ac575d79..40c4913aea14 100644
@@ -9,7 +9,7 @@ config SYS_BOARD
        default "j784s4"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "j784s4_evm"
@@ -24,7 +24,7 @@ config SYS_BOARD
        default "j784s4"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "j784s4_evm"
@@ -42,7 +42,7 @@ config SYS_BOARD
        default "j784s4"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "j784s4_evm"
@@ -57,7 +57,7 @@ config SYS_BOARD
        default "j784s4"
 
 config SYS_VENDOR
-       default "ti"
+	default "ti"
 
 config SYS_CONFIG_NAME
        default "j784s4_evm"
board/toradex/apalis_imx6/Kconfig +6 -6
index c6ff387351c4..fc4cbe3323c7 100644
@@ -35,7 +35,7 @@ config TDX_CMD_IMX_MFGR
 	bool "Enable factory testing commands for Toradex iMX 6 modules"
 	help
 	  This adds the commands
-	    pf0100_otp_prog - Program the OTP fuses on the PMIC PF0100
+	  pf0100_otp_prog - Program the OTP fuses on the PMIC PF0100
 	  If executed on already fused modules it doesn't change any fuse setting.
 	default y
 
@@ -43,11 +43,11 @@ config TDX_APALIS_IMX6_V1_0
 	bool "Apalis iMX6 V1.0 HW"
 	help
 	  Apalis iMX6 V1.0 HW has a different pinout for the UART.
-	    The UARTs must be used in DCE mode, RTS/CTS are swapped and
-	    thus unusable on standard carrier boards.
-	    This option configures DCE mode unconditionally. Whithout this
-	    option the config block stating V1.0 HW selects DCE mode,
-	    otherwise the UARTs are configuered in DTE mode.
+	  The UARTs must be used in DCE mode, RTS/CTS are swapped and
+	  thus unusable on standard carrier boards.
+	  This option configures DCE mode unconditionally. Whithout this
+	  option the config block stating V1.0 HW selects DCE mode,
+	  otherwise the UARTs are configuered in DTE mode.
 
 source "board/toradex/common/Kconfig"
 
board/toradex/aquila-am69/Kconfig +2 -2
index 6afa97e2c828..b44b9247603c 100644
@@ -9,7 +9,7 @@ config SYS_BOARD
        default "aquila-am69"
 
 config SYS_VENDOR
-       default "toradex"
+	default "toradex"
 
 config SYS_CONFIG_NAME
        default "aquila-am69"
@@ -48,7 +48,7 @@ config SYS_BOARD
        default "aquila-am69"
 
 config SYS_VENDOR
-       default "toradex"
+	default "toradex"
 
 config SYS_CONFIG_NAME
        default "aquila-am69"
board/toradex/colibri_imx6/Kconfig +1 -1
index d2ad1ce2a033..53d3469d439a 100644
@@ -35,7 +35,7 @@ config TDX_CMD_IMX_MFGR
 	bool "Enable factory testing commands for Toradex iMX 6 modules"
 	help
 	  This adds the commands
-	    pf0100_otp_prog - Program the OTP fuses on the PMIC PF0100
+	  pf0100_otp_prog - Program the OTP fuses on the PMIC PF0100
 	  If executed on already fused modules it doesn't change any fuse setting.
 	default y
 
board/toradex/verdin-am62p/Kconfig +14 -14
index a65caf3c26df..4f5968bca2ea 100644
@@ -8,22 +8,22 @@ choice
 	optional
 
 config TARGET_VERDIN_AM62P_A53
-        bool "Toradex Verdin AM62P running on A53"
-        select ARM64
-        select BINMAN
-        select OF_SYSTEM_SETUP
-        imply OF_UPSTREAM
+	bool "Toradex Verdin AM62P running on A53"
+	select ARM64
+	select BINMAN
+	select OF_SYSTEM_SETUP
+	imply OF_UPSTREAM
 
 config TARGET_VERDIN_AM62P_R5
-        bool "Toradex Verdin AM62P running on R5"
-        select CPU_V7R
-        select SYS_THUMB_BUILD
-        select K3_LOAD_SYSFW
-        select RAM
-        select SPL_RAM
-        select K3_DDRSS
-        select BINMAN
-        imply SYS_K3_SPL_ATF
+	bool "Toradex Verdin AM62P running on R5"
+	select CPU_V7R
+	select SYS_THUMB_BUILD
+	select K3_LOAD_SYSFW
+	select RAM
+	select SPL_RAM
+	select K3_DDRSS
+	select BINMAN
+	imply SYS_K3_SPL_ATF
 
 endchoice
 
board/traverse/common/Kconfig +2 -2
index d34832bd0d30..96b2566b697f 100644
@@ -2,5 +2,5 @@ config TEN64_CONTROLLER
 	bool "Enable Ten64 board controller driver"
 	depends on TARGET_TEN64
 	help
-		Support for the board microcontroller on the Traverse
-		Ten64 family of boards.
+	  Support for the board microcontroller on the Traverse
+	  Ten64 family of boards.
board/xilinx/Kconfig +1 -1
index 5c3240da0733..07fc8da1b71a 100644
@@ -67,7 +67,7 @@ config BOOT_SCRIPT_OFFSET
 	default 0x7F80000 if ARCH_VERSAL || ARCH_VERSAL_NET || ARCH_VERSAL2
 	default 0 if TARGET_XILINX_MBV
 	help
-	   Specifies distro boot script offset in NAND/QSPI/NOR flash.
+	  Specifies distro boot script offset in NAND/QSPI/NOR flash.
 
 config CMD_FRU
 	bool "FRU information for product"

--
2.39.5

#17 lore raw
In reply to Johan Jonker
Quoted 8 lines · Johan Jonker

The Kconfig menu attribute '---help---' is deprecated. If we change to "help" the text has to indent. This again has to align with other attributes, so we have to restyle them as well.
And as there's a script then change all Kconfig to start with the 'arch' and 'board' directories.

[...]

Applied to u-boot/next, thanks!

[1/8] Kconfig: armv7: fix typo

      commit: 0c0074f983cc97c0a721f44851fb48df4add2931
[2/8] Kconfig: powerpc: mpc85xx: fix typo
      commit: 4b199a549fca5027fd24f9e2d951581c76a68845
[3/8] Kconfig: power: pmic: fix typo
      commit: 08fc979a61aff7ede01a89d2b68b86128af64361
[4/8] Kconfig: themal: fix typo
      commit: d20d285cf0b72347b7ba37694272206865d86824
[5/8] Kconfig: misc: add empty line
      commit: 2ffe9687013b615a6053e3a85080433626c6f3b5
[6/8] Kconfig: arm: restyle
      commit: 0caac78a06f21cbe25460bf8c0dbe8094f73cb73
[7/8] Kconfig: arch: restyle
      commit: f952ddb7ece20997dd6c12250124d1e377693d44
[8/8] Kconfig: board: restyle
      commit: df3d87bd695656f879604b2089434a64ef74dbb6
Signature · 1 line
Tom