Skip to content

SC5xx Carrier Board Kconfig Cleanup

Caleb Ethridge u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3board: adi: Build SOMCRR common code only with a carrier boardarch/arm/mach-sc5xx/Kconfig board/adi/carriers/Makefile board/adi/common-sc594-som/sc594-som.c +1 more+11 -70 replies
2/3arm: mach-sc5xx: Make the SC5xx board target select the carrier boardarch/arm/mach-sc5xx/Kconfig+6 -160 replies
3/3configs: sc598-som-ezlite: drop explicit carrier board optionconfigs/sc598-som-ezlite-spl_defconfig+0 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGreg Malysa
SeriesR-b
1/3
2/3
3/3

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/3] SC5xx Carrier Board Kconfig Cleanup

From: Caleb Ethridge <[email protected]>

This patch series does some small cleanup of the Kconfig options for the sc5xx boards. Common code for the SOMCRR carrier boards is now only built when one of the carrier boards is selected. Previously, it was built unconditionally which resulted in dead code.

The series also fixes a bug with the sc594 EZLITE where it was being built with the EZKIT carrier code, resulting in the Ethernet not being set up properly. As the carrier board Kconfig option was a choice, the select from the TARGET was being ignored and the fallback was the default EZKIT code. Carrier board options have been changed from choices to bools so that the board targets can select the carrier board properly.

Also, removing the explicit carrier board option from the sc598 EZLITE, since with the change to the bool options for the carrier boards it is no longer needed.

Caleb Ethridge (3):
board: adi: Build SOMCRR common code only with a carrier board
arm: mach-sc5xx: Make the SC5xx board target select the carrier board
configs: sc598-som-ezlite: drop explicit carrier board option

 arch/arm/mach-sc5xx/Kconfig            | 26 ++++++++++++--------------
 board/adi/carriers/Makefile            |  2 +-
 board/adi/common-sc594-som/sc594-som.c |  4 +---
 board/adi/common-sc598-som/sc598-som.c |  4 +---
 configs/sc598-som-ezlite-spl_defconfig |  1 -
 5 files changed, 15 insertions(+), 22 deletions(-)
Signature · 1 line
2.43.0