[PATCH 00/11] treewide: Fix miscellaneous xPL related symbol issues

Jonas Karlman jonas at kwiboo.se
Thu Jul 9 00:05:26 CEST 2026


This series drop redundant TPL_BUILD checks to cleanup from the old SPL
to XPL symbol rename and fixes a few depends on xPL issues discovered
while working on a future Rockchip TPL cleanup series.

Patch 1-4 drops redundant TPL_BUILD checks.
Patch 5 updates a xPL_BUILD conditional guard example.
Patch 7-9 fixes a few depends on xPL issues.
Patch 10-11 changes to use CONFIG_IS_ENABLED() for a few symbols.

This series has no intended functional change besides changing to guard
symbols for the intended xPL phase and trying to remove some xPL_
symbols in .config when the related xPL phase is disabled.

Jonas Karlman (11):
  Makefile: Drop redundant CONFIG_TPL_BUILD checks
  dm: core: Drop redundant CONFIG_TPL_BUILD check
  rockchip: clk: rk3368: Drop redundant CONFIG_TPL_BUILD checks
  x86: apl: fsp_bindings: Drop redundant CONFIG_TPL_BUILD check
  spl: Simplify xPL_BUILD conditional guard example
  Kconfig: Add missing depends on xPL to xPL_ symbols
  Kconfig: Depend on correct xPL symbol
  Kconfig: i2c: Depend on correct xPL symbol
  Kconfig: serial: Depend on correct xPL symbol
  console: Use CONFIG_IS_ENABLED() for SILENT_CONSOLE
  spl: Use CONFIG_IS_ENABLED() for LIBCOMMON_SUPPORT checks

 arch/Kconfig                           |  2 +-
 arch/arm/mach-rockchip/Makefile        |  2 +-
 arch/x86/cpu/apollolake/fsp_bindings.c |  2 +-
 board/friendlyarm/nanopi2/board.c      |  4 ++--
 boot/bootm.c                           |  4 ++--
 boot/common_fit.c                      |  2 +-
 common/Kconfig                         |  2 ++
 common/autoboot.c                      |  2 +-
 common/console.c                       | 12 ++++++------
 common/spl/Kconfig                     |  2 +-
 common/spl/spl_usb.c                   |  2 +-
 drivers/Makefile                       |  2 +-
 drivers/bus/Makefile                   |  2 +-
 drivers/clk/rockchip/clk_rk3368.c      |  8 ++++----
 drivers/core/Kconfig                   |  4 ++--
 drivers/core/ofnode.c                  |  4 ++--
 drivers/i2c/Kconfig                    |  4 ++--
 drivers/mmc/mmc-uclass.c               |  4 ++--
 drivers/mmc/mmc.c                      | 16 ++++++++--------
 drivers/mmc/mmc_legacy.c               |  4 ++--
 drivers/mtd/Makefile                   |  2 +-
 drivers/mtd/nand/Makefile              |  2 +-
 drivers/serial/Kconfig                 |  6 +++---
 include/env_callback.h                 |  2 +-
 include/spl.h                          |  8 ++++----
 lib/Kconfig                            |  7 ++++++-
 lib/hang.c                             |  2 +-
 27 files changed, 60 insertions(+), 53 deletions(-)

-- 
2.54.0



More information about the U-Boot mailing list