[PATCH v4 00/46] More tidy-ups of Kconfig options

Simon Glass sjg at chromium.org
Mon Feb 20 00:44:41 CET 2023


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 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 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 (46):
  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 FSL_ISBC_KEY_EXT
  Correct SPL uses of MULTIPLEXER
  Correct SPL use of PG_WCOM_UBOOT_UPDATE_SUPPORTED
  Correct SPL use of PHY_CADENCE_SIERRA
  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/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/freescale/common/fsl_validate.c         |  18 +-
 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                       |   5 +-
 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/phy/cadence/Makefile                  |   2 +-
 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, 833 insertions(+), 428 deletions(-)
 delete mode 100644 drivers/input/twl6030.c
 delete mode 100644 drivers/mtd/nand/raw/kb9202_nand.c

-- 
2.39.2.637.g21b0678d19-goog



More information about the U-Boot mailing list