mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-23 20:24:26 +08:00
8cb330355b
Prepare the introduction of the lwIP (lightweight IP) TCP/IP stack by adding a new net/lwip/ directory and the NET_LWIP symbol. Network support is either NO_NET, NET (legacy stack) or NET_LWIP. Subsequent commits will introduce the lwIP code, re-work the NETDEVICE integration and port some of the NET commands and features to lwIP. SPL_NET cannot be enabled when NET_LWIP=y. SPL_NET pulls some symbols that are part of NET (such as arp_init(), arp_timeout_check(), arp_receive(), net_arp_wait_packet_ip()). lwIP support in SPL may be added later. Similarly, DFU_TFTP and FASTBOOT are not compatible with NET_LWIP because of dependencies on net_loop(), tftp_timeout_ms, tftp_timeout_count_max and other NET things. Let's add a dependency on !NET_LWIP for now. SANDBOX can select NET_LWIP but doing so will currently disable the eth dm tests as well as the wget tests which have strong dependencies on the NET code. Other adjustments to Kconfig files are made to fix "unmet direct dependencies detected" for USB_FUNCTION_SDP and CMD_FASTBOOT when the default networking stack is set to NET_LWIP ("default NET_LWIP" instead of "default NET" in Kconfig). The networking stack is now a choice between NO_NET, NET and NET_LWIP. Therefore '# CONFIG_NET is not set' should be 'CONFIG_NO_NET=y'. Adjust the defconfigs accordingly. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
79 lines
2.3 KiB
Plaintext
79 lines
2.3 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_SYS_CONFIG_NAME="xilinx_versal_net_mini"
|
|
CONFIG_COUNTER_FREQUENCY=100000000
|
|
CONFIG_ARCH_VERSAL_NET=y
|
|
CONFIG_TEXT_BASE=0xBBF00000
|
|
CONFIG_SYS_MALLOC_LEN=0x2000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xBBF20000
|
|
CONFIG_SF_DEFAULT_SPEED=30000000
|
|
CONFIG_ENV_SIZE=0x80
|
|
CONFIG_DEFAULT_DEVICE_TREE="versal-net-mini-qspi-single"
|
|
CONFIG_SYS_LOAD_ADDR=0xBBF80000
|
|
CONFIG_SYS_MEM_RSVD_FOR_MMU=y
|
|
# CONFIG_PSCI_RESET is not set
|
|
CONFIG_LTO=y
|
|
# CONFIG_EXPERT is not set
|
|
CONFIG_REMAKE_ELF=y
|
|
# CONFIG_EFI_LOADER is not set
|
|
# CONFIG_AUTOBOOT is not set
|
|
# CONFIG_ARCH_FIXUP_FDT_MEMORY is not set
|
|
CONFIG_LOGLEVEL=0
|
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
|
# CONFIG_DISPLAY_CPUINFO is not set
|
|
CONFIG_BOARD_EARLY_INIT_R=y
|
|
# CONFIG_BOARD_LATE_INIT is not set
|
|
# CONFIG_CMDLINE_EDITING is not set
|
|
# CONFIG_AUTO_COMPLETE is not set
|
|
# CONFIG_SYS_LONGHELP is not set
|
|
CONFIG_SYS_PROMPT="Versal NET> "
|
|
# CONFIG_SYS_XTRACE is not set
|
|
# CONFIG_CMD_BDI is not set
|
|
# CONFIG_CMD_CONSOLE is not set
|
|
# CONFIG_CMD_BOOTD is not set
|
|
# CONFIG_CMD_BOOTM is not set
|
|
# CONFIG_CMD_BOOTI is not set
|
|
# CONFIG_CMD_ELF is not set
|
|
# CONFIG_CMD_FDT is not set
|
|
# CONFIG_CMD_GO is not set
|
|
# CONFIG_CMD_RUN is not set
|
|
# CONFIG_CMD_IMI is not set
|
|
# CONFIG_CMD_XIMG is not set
|
|
# CONFIG_CMD_EXPORTENV is not set
|
|
# CONFIG_CMD_IMPORTENV is not set
|
|
# CONFIG_CMD_EDITENV is not set
|
|
# CONFIG_CMD_SAVEENV is not set
|
|
# CONFIG_CMD_ENV_EXISTS is not set
|
|
# CONFIG_CMD_CRC32 is not set
|
|
# CONFIG_CMD_LOADB is not set
|
|
# CONFIG_CMD_LOADS is not set
|
|
# CONFIG_CMD_ECHO is not set
|
|
# CONFIG_CMD_ITEST is not set
|
|
# CONFIG_CMD_SOURCE is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
# CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG is not set
|
|
CONFIG_NO_NET=y
|
|
# CONFIG_DM_DEVICE_REMOVE is not set
|
|
# CONFIG_GPIO is not set
|
|
# CONFIG_I2C is not set
|
|
# CONFIG_INPUT is not set
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_DM_SPI_FLASH=y
|
|
# CONFIG_SPI_FLASH_SMART_HWCAPS is not set
|
|
# CONFIG_SPI_FLASH_LOCK is not set
|
|
# CONFIG_SPI_FLASH_UNLOCK_ALL is not set
|
|
CONFIG_SPI_FLASH_ISSI=y
|
|
CONFIG_SPI_FLASH_MACRONIX=y
|
|
CONFIG_SPI_FLASH_SPANSION=y
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
|
|
# CONFIG_POWER is not set
|
|
CONFIG_ARM_DCC=y
|
|
CONFIG_SPI=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_ZYNQMP_GQSPI=y
|
|
# CONFIG_LMB is not set
|