Skip to content

Avoid needless CONFIG_TPL_BUILD checks for U-Boot proper build

Massimo Pegorer u-boot 1 version In review

Get series with b4
b4 am [email protected] change-id 20260908-xpl-8c3ee1f3549e

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arch: arm: rockchip: Skip needless CONFIG_TPL_BUILD checkarch/arm/mach-rockchip/Makefile+1 -13 replies
2/2drivers: Skip needless CONFIG_TPL_BUILD checkdrivers/Makefile drivers/bus/Makefile drivers/mtd/Makefile +1 more+4 -41 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchQuentin Schulz
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Avoid needless CONFIG_TPL_BUILD checks for U-Boot proper build

Just check that CONFIG_XPL_BUILD is not set to select files for U-Boot proper build. Indeed, CONFIG_TPL_BUILD being set implies by design that CONFIG_XPL_BUILD is set too, therefore CONFIG_XPL_BUILD not set implies that CONFIG_TPL_BUILD is not set either, making its check needless.

---
Massimo Pegorer (2):
arch: arm: rockchip: Skip needless CONFIG_TPL_BUILD check
drivers: Skip needless CONFIG_TPL_BUILD check

 arch/arm/mach-rockchip/Makefile | 2 +-
 drivers/Makefile                | 2 +-
 drivers/bus/Makefile            | 2 +-
 drivers/mtd/Makefile            | 2 +-
 drivers/mtd/nand/Makefile       | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

---
base-commit: b4ac71db13a33c4e6532c60a781ddf34b7f4375a
change-id: 20260908-xpl-8c3ee1f3549e

Best regards,

Signature · 1 line
Massimo Pegorer <[email protected]>