mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
This will allow a bunch of simplifications across the code base. Disabling NET is the equivalent of today's NO_NET choice. This means that if NET is enabled, either the legacy or lwIP stack is necessarily selected, which allows us to simplify if NET_LEGACY || NET_LWIP into if NET in a later commit. Config fragments - or defconfigs including other defconfigs - setting the network stack (NET_LEGACY or NET_LWIP) must also set NET (or unset NO_NET) if the config they apply to - or the included defconfigs - unsets NET (or selects NO_NET) as otherwise the NET_LEGACY and NET_LWIP symbols are unreachable. This is the case for the two defconfig modified in this commit. NO_NET is now a convenience symbol which hides NET entirely to avoid modifying many defconfigs. If one selected NO_NET to disable the networking stack in the past, this will still work for now. Technically, we should be using the "transitional" Kconfig attribute but that is only available since Kconfig from Linux kernel v6.18 and we're on 6.1 right now. Note that this moves CONFIG_SYS_RX_ETH_BUFFER from under the Network menu back into the main menu as it seems like it needs to be defined even when there's no need for NET support at all and menuconfig option doesn't work the same way as a menu. Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
30 lines
670 B
Plaintext
30 lines
670 B
Plaintext
#include<configs/am62px_evm_r5_defconfig>
|
|
|
|
CONFIG_ARM=y
|
|
CONFIG_ARCH_K3=y
|
|
CONFIG_SOC_K3_AM62P5=y
|
|
CONFIG_TARGET_AM62P5_R5_EVM=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="k3-am62p5-r5-sk"
|
|
# CONFIG_NO_NET is not set
|
|
CONFIG_SPL_BOARD_INIT=y
|
|
CONFIG_SPL_DMA=y
|
|
CONFIG_SPL_ENV_SUPPORT=y
|
|
CONFIG_SPL_ETH=y
|
|
CONFIG_SPL_I2C=y
|
|
CONFIG_SPL_NET=y
|
|
CONFIG_SPL_NET_VCI_STRING="AM62PX U-Boot R5 SPL"
|
|
CONFIG_SPL_DRIVERS_MISC=y
|
|
CONFIG_TI_AM65_CPSW_NUSS=y
|
|
CONFIG_TI_K3_NAVSS_UDMA=y
|
|
CONFIG_SPL_SPI=n
|
|
CONFIG_SPL_MMC=n
|
|
CONFIG_SPL_MTD_LOAD=n
|
|
CONFIG_SPL_NAND_SPI_SUPPORT=n
|
|
CONFIG_SPL_DM_DEVICE_REMOVE=n
|
|
CONFIG_DM_MTD=n
|
|
CONFIG_MTD_SPI_NAND=n
|
|
CONFIG_DM_SPI_FLASH=n
|
|
CONFIG_SPI=n
|
|
CONFIG_DM_SPI=n
|
|
CONFIG_CADENCE_QSPI=n
|