[PATCH RFC next 0/5] net: guard SYS_RX_ETH_BUFFER with NET + required changes (ls1028a!) to make this happen

Quentin Schulz foss+uboot at 0leil.net
Wed Apr 29 12:35:00 CEST 2026


Adding ls1028a to the mail subject so that maybe it triggers some filter
for maintainers/reviewers of those boards.

Follow-up to the NET->NET_LEGACY rename, where CONFIG_SYS_RX_ETH_BUFFER
was discovered[1] to be in net/Kconfig but not guarded by NET.

Move a few things around such that we can guard this symbol by NET.

It'd be nice if someone could check patch 2 works as intended on the
impacted platform(s), hence the RFC (and the ls1028a! in the mail
subject).

CI passed here: https://source.denx.de/u-boot/contributors/qschulz/u-boot/-/pipelines/29934

[1] https://lore.kernel.org/u-boot/3462e9ac-e882-4145-88d2-a553cd1c3cb2@cherry.de/

Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
---
Quentin Schulz (5):
      ls1028a: only include drivers/net/fsl_enetc.h when driver is compiled
      arm: ls102xa: use platform data to check Ethernet interface is not SGMII
      net: tsec: make tsec_private a private structure
      net: guard SYS_RX_ETH_BUFFER with NET
      net: SYS_RX_ETH_BUFFER defaults to 8 when CONFIG_FSL_ENETC=y

 arch/arm/cpu/armv7/ls102xa/fdt.c |  7 +++----
 board/nxp/ls1028a/ls1028a.c      |  2 ++
 drivers/net/tsec.c               | 17 +++++++++++++++++
 include/net-common.h             |  4 ++++
 include/tsec.h                   | 17 -----------------
 net/Kconfig                      |  5 +++--
 6 files changed, 29 insertions(+), 23 deletions(-)
---
base-commit: 4433253ecf2041f9362a763bb6cb79960921ac7e
change-id: 20260428-sys_rx_eth_buffer-no-net-0ac1fd2004fa

Best regards,
--  
Quentin Schulz <quentin.schulz at cherry.de>



More information about the U-Boot mailing list