[PATCH v1 0/8] Kconfig restyle
Johan Jonker
jbx6244 at gmail.com
Tue Jun 9 03:22:44 CEST 2026
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
More information about the U-Boot
mailing list