Skip to content

More tidy-ups of Kconfig options

Simon Glass u-boot 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest44 patches 49 repliesIn review
  2. v4 posting 2/245 of 46 patches 0 repliesSuperseded
  3. v4 posting 1/20 of 50 patches 1 replySuperseded

Changes in v5 from the cover letter

- Fix reply typo
- Change approach and expand notes after more investigation
- Drop FSL_ISBC_KEY_EXT patch as it changes the size
- Drop PHY_CADENCE_SIERRA patch as it changes the size

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/44mtd: Drop unused kb9202_nand driverdrivers/mtd/nand/raw/Makefile drivers/mtd/nand/raw/kb9202_nand.c+0 -1351 reply
2/44mtd: Drop unused CONFIG_ONENAND_U_BOOTMakefile+0 -11 reply
3/44sh4: Drop unused twl6030 driverdrivers/input/Makefile drivers/input/twl6030.c+0 -481 reply
4/44moveconfig: Update to detect / correct missing SPL Kconfigstools/moveconfig.py+456 -1430 replies
5/44bootstd: Disable QFW bootmeth in SPLboot/Makefile+1 -11 reply
6/44Correct SPL uses of ARCH_MVEBUdrivers/mmc/mv_sdhci.c+2 -20 replies
7/44Correct SPL uses of DISPLAY_AER_FULLdrivers/sysreset/sysreset_mpc83xx.c+2 -21 reply
8/44Correct SPL uses of MULTIPLEXERdrivers/Makefile drivers/mux/Makefile include/mux.h+3 -31 reply
9/44Correct SPL use of PG_WCOM_UBOOT_UPDATE_SUPPORTEDboard/keymile/common/common.c+1 -11 reply
10/44Correct SPL uses of PHY_FIXEDdrivers/net/mvneta.c net/mdio-uclass.c+3 -31 reply
11/44boot: Add Kconfigs for BOOTMETH_VBE_REQUESTboot/Kconfig boot/Makefile+22 -11 reply
12/44Correct SPL use of DM_RNGboot/vbe_request.c+1 -11 reply
13/44lib: Add a Kconfig for SPL_BZIP2lib/Kconfig+6 -01 reply
14/44moveconfig: Various minor improvementstools/moveconfig.py+43 -480 replies
15/44sandbox: Expand size for VPL imagearch/sandbox/dts/sandbox_vpl.dtsi+2 -21 reply
16/44event: Add Kconfig options for SPLcommon/Kconfig+20 -01 reply
17/44bootstd: Correct 'VPL' typoboot/Kconfig+1 -11 reply
18/44env: Avoid checking ENV_IS_IN when env disabledcmd/nvedit.c+2 -01 reply
19/44env: Allow VPL environment to be nowhereenv/Kconfig+10 -01 reply
20/44lib: Add VPL options for SHA1 and SHA256lib/Kconfig+20 -01 reply
21/44x86: Use string functions for all 32-bit buildsarch/x86/include/asm/string.h arch/x86/lib/Makefile+2 -22 replies
22/44lib: Fix build condition for tiny-printflib/Makefile+1 -11 reply
23/44sandbox: Tidy up RTC optionsarch/sandbox/dts/sandbox.dts arch/sandbox/dts/sandbox.dtsi arch/sandbox/include/asm/rtc.h +2 more+25 -71 reply
24/44sandbox: Use the generic VPL option to enable VPLarch/sandbox/dts/sandbox.dts+1 -11 reply
25/44sandbox: Tidy up I2C optionsdrivers/i2c/Kconfig+20 -02 replies
26/44fixdep: Add support for VPLscripts/basic/fixdep.c+2 -00 replies
27/44fixdep: Refactor to make testing easierscripts/basic/fixdep.c+54 -330 replies
28/44fixdep: Add some tests for parse_config_line()scripts/basic/fixdep.c+73 -00 replies
29/44test: Add SPL versions of the TEST_KCONFIG optionstest/lib/Kconfig+19 -10 replies
30/44lib: Add an SPL config for LIB_UUIDdisk/Kconfig lib/Kconfig+12 -03 replies
31/44test: Tidy up sandbox handling in test-maintest/test-main.c+5 -51 reply
32/44x86: Fix up use of X86_32BIT_INIT and X86_64 optionsarch/x86/cpu/qemu/qemu.c arch/x86/include/asm/msr.h+2 -22 replies
33/44Add VPL options for BLOBLISTcommon/Kconfig+30 -11 reply
34/44rockchip: Avoid checking environment without ENV_SUPPORTboard/theobroma-systems/puma_rk3399/puma-rk3399.c board/theobroma-systems/ringneck_px30/ringneck-px30.c+2 -21 reply
35/44freescale: Drop old pre-DM_ETH codearch/arm/cpu/armv7/ls102xa/fdt.c+0 -121 reply
36/44imx: Use SATA instead of CMD_SATAboard/solidrun/mx6cuboxi/mx6cuboxi.c+1 -13 replies
37/44net: Add an SPL config for atherosdrivers/net/phy/Kconfig+3 -01 reply
38/44freescale: Fix odd use of ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUEarch/powerpc/include/asm/config_mpc85xx.h drivers/mmc/fsl_esdhc.c drivers/mmc/fsl_esdhc_imx.c+11 -51 reply
39/44serial: Support ns16550 driver in TPLdrivers/serial/Kconfig+6 -01 reply
40/44dm: Add a TPL symbol for simple-busdrivers/core/Kconfig+7 -01 reply
41/44x86: coral: Add missing TPL optionsconfigs/chromebook_coral_defconfig+3 -01 reply
42/44power: wandboard: Add a missing CONFIGconfigs/wandboard_defconfig+1 -01 reply
43/44venice: Simplify conditions for network initboard/gateworks/venice/venice.c+3 -31 reply
44/44command: Don't allow commands in SPLinclude/command.h+1 -12 replies

Reviews trailers per patch

5 of 44 patches have a Reviewed-by or Acked-by.

PatchMichael TrimarchiRamon FriedTom RiniHeiko SchocherQuentin Schulz
1/44A-b
2/44
3/44
4/44
5/44
6/44
7/44
8/44R-b
9/44
10/44
11/44
12/44
13/44
14/44
15/44
16/44
17/44
18/44
19/44
20/44
21/44
22/44
23/44
24/44
25/44R-b
26/44
27/44
28/44
29/44
30/44
31/44
32/44
33/44
34/44R-b
35/44
36/44
37/44R-b
38/44
39/44
40/44
41/44
42/44
43/44
44/44

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v5 thread

Cover letter [PATCH v5 00/44] More tidy-ups of Kconfig options

This series was split out of the old 'split config' splc series. It contains clean-up patches which do not depend on split config.

This is available at u-boot-dm/spld-working

The size changes look pretty good: https://paste.debian.net/1271742/

The remaining patches will move into a new 'splg' series (G for Good).

[1] https://patchwork.ozlabs.org/project/uboot/list/?series=341504&state=*

Changes in v5:
- Fix reply typo
- Change approach and expand notes after more investigation
- Drop FSL_ISBC_KEY_EXT patch as it changes the size
- Drop PHY_CADENCE_SIERRA patch as it changes the size

Changes in v4:
- Avoid use of def_bool
- Modify to get rid of def_bool
- Adjust Kconfig ordering
- Just fix the typo
- Reduce and rename commit
- Reduce and rename commit
- Fix 'wanderboard' typo
- Reduce and rename commit

Changes in v3:
- Add new patch to disable QFW bootmeth in SPL
- Move the option down to the non-SPL part of drivers/Makefile
- Correct 'VPL' typo
- Use a consistent format for the comment
- Fix a transitory build error with sandbox_spl
- Add a new patch to disallow commands in SPL

Changes in v2:
- Rebase to previous series

Simon Glass (44):
mtd: Drop unused kb9202_nand driver
mtd: Drop unused CONFIG_ONENAND_U_BOOT
sh4: Drop unused twl6030 driver
moveconfig: Update to detect / correct missing SPL Kconfigs
bootstd: Disable QFW bootmeth in SPL
Correct SPL uses of ARCH_MVEBU
Correct SPL uses of DISPLAY_AER_FULL
Correct SPL uses of MULTIPLEXER
Correct SPL use of PG_WCOM_UBOOT_UPDATE_SUPPORTED Correct SPL uses of PHY_FIXED
boot: Add Kconfigs for BOOTMETH_VBE_REQUEST Correct SPL use of DM_RNG
lib: Add a Kconfig for SPL_BZIP2
moveconfig: Various minor improvements
sandbox: Expand size for VPL image
event: Add Kconfig options for SPL
bootstd: Correct 'VPL' typo
env: Avoid checking ENV_IS_IN when env disabled
env: Allow VPL environment to be nowhere
lib: Add VPL options for SHA1 and SHA256
x86: Use string functions for all 32-bit builds
lib: Fix build condition for tiny-printf
sandbox: Tidy up RTC options
sandbox: Use the generic VPL option to enable VPL
sandbox: Tidy up I2C options
fixdep: Add support for VPL
fixdep: Refactor to make testing easier
fixdep: Add some tests for parse_config_line()
test: Add SPL versions of the TEST_KCONFIG options
lib: Add an SPL config for LIB_UUID
test: Tidy up sandbox handling in test-main
x86: Fix up use of X86_32BIT_INIT and X86_64 options Add VPL options for BLOBLIST
rockchip: Avoid checking environment without ENV_SUPPORT
freescale: Drop old pre-DM_ETH code
imx: Use SATA instead of CMD_SATA
net: Add an SPL config for atheros
freescale: Fix odd use of ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE
serial: Support ns16550 driver in TPL
dm: Add a TPL symbol for simple-bus
x86: coral: Add missing TPL options
power: wandboard: Add a missing CONFIG
venice: Simplify conditions for network init
command: Don't allow commands in SPL

 Makefile                                      |   1 -
 arch/arm/cpu/armv7/ls102xa/fdt.c              |  12 -
 arch/powerpc/include/asm/config_mpc85xx.h     |   6 +-
 arch/sandbox/dts/sandbox.dts                  |   4 +-
 arch/sandbox/dts/sandbox.dtsi                 |   6 +-
 arch/sandbox/dts/sandbox_vpl.dtsi             |   4 +-
 arch/sandbox/include/asm/rtc.h                |   2 +-
 arch/x86/cpu/qemu/qemu.c                      |   2 +-
 arch/x86/include/asm/msr.h                    |   2 +-
 arch/x86/include/asm/string.h                 |   2 +-
 arch/x86/lib/Makefile                         |   2 +-
 board/gateworks/venice/venice.c               |   6 +-
 board/keymile/common/common.c                 |   2 +-
 board/solidrun/mx6cuboxi/mx6cuboxi.c          |   2 +-
 .../puma_rk3399/puma-rk3399.c                 |   2 +-
 .../ringneck_px30/ringneck-px30.c             |   2 +-
 boot/Kconfig                                  |  22 +-
 boot/Makefile                                 |   5 +-
 boot/vbe_request.c                            |   2 +-
 cmd/nvedit.c                                  |   2 +
 common/Kconfig                                |  51 +-
 configs/chromebook_coral_defconfig            |   3 +
 configs/wandboard_defconfig                   |   1 +
 disk/Kconfig                                  |   8 +
 drivers/Makefile                              |   2 +-
 drivers/core/Kconfig                          |   7 +
 drivers/i2c/Kconfig                           |  20 +
 drivers/input/Makefile                        |   1 -
 drivers/input/twl6030.c                       |  47 --
 drivers/mmc/fsl_esdhc.c                       |   6 +-
 drivers/mmc/fsl_esdhc_imx.c                   |   4 +-
 drivers/mmc/mv_sdhci.c                        |   4 +-
 drivers/mtd/nand/raw/Makefile                 |   1 -
 drivers/mtd/nand/raw/kb9202_nand.c            | 134 ----
 drivers/mux/Makefile                          |   2 +-
 drivers/net/mvneta.c                          |   4 +-
 drivers/net/phy/Kconfig                       |   3 +
 drivers/rtc/Kconfig                           |  18 +
 drivers/rtc/Makefile                          |   4 +-
 drivers/serial/Kconfig                        |   6 +
 drivers/sysreset/sysreset_mpc83xx.c           |   4 +-
 env/Kconfig                                   |  10 +
 include/command.h                             |   2 +-
 include/mux.h                                 |   2 +-
 lib/Kconfig                                   |  30 +
 lib/Makefile                                  |   2 +-
 net/mdio-uclass.c                             |   2 +-
 scripts/basic/fixdep.c                        | 162 ++++-
 test/lib/Kconfig                              |  20 +-
 test/test-main.c                              |  10 +-
 tools/moveconfig.py                           | 594 +++++++++++++-----
 51 files changed, 831 insertions(+), 421 deletions(-)
 delete mode 100644 drivers/input/twl6030.c
 delete mode 100644 drivers/mtd/nand/raw/kb9202_nand.c
Signature · 1 line
2.39.2.637.g21b0678d19-goog