Skip to content

rockchip: tpl.c #ifdef fixes

Chris Webb u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rockchip: Fix TPL build without CONFIG_TPL_SERIAL_SUPPORTarch/arm/mach-rockchip/tpl.c+1 -12 replies
2/2rockchip: TPL banner should depend on CONFIG_TPL_BANNER_PRINTarch/arm/mach-rockchip/tpl.c+2 -02 replies

Reviews trailers per patch

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

PatchKever Yang
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 [U-Boot] [PATCH 0/2] rockchip: tpl.c #ifdef fixes

These are two trivial patches which fix up the #ifdef conditionals in mach-rockchip/tpl.c to do the right thing in two configuration scenarios:

1. Debug UART enabled (for SPL and main U-Boot) but serial support disabled for the TPL stage.

2. TPL banner disabled by unsetting CONFIG_TPL_BANNER_PRINT.

I stumbled over these edge cases while trying various permitted config permutations, trying to make U-Boot less noisy without killing useful error messages.

The diffs are against u-boot-rockchip.git: this already has changes that haven't yet reached mainline u-boot yet, moving the relevant code from board specific source files into the shared mach-rockchip/tpl.c.