mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 21:54:37 +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>
68 lines
1.7 KiB
Plaintext
68 lines
1.7 KiB
Plaintext
CONFIG_MIPS=y
|
|
CONFIG_SKIP_LOWLEVEL_INIT=y
|
|
CONFIG_TEXT_BASE=0x80010000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="brcm,bcm968380gerg"
|
|
CONFIG_DM_RESET=y
|
|
CONFIG_SYS_LOAD_ADDR=0x80100000
|
|
CONFIG_ARCH_BMIPS=y
|
|
CONFIG_SOC_BMIPS_BCM6838=y
|
|
CONFIG_SYS_MIPS_TIMER_FREQ=160000000
|
|
CONFIG_MIPS_CACHE_SETUP=y
|
|
CONFIG_MIPS_CACHE_DISABLE=y
|
|
# CONFIG_MIPS_BOOT_CMDLINE_LEGACY is not set
|
|
# CONFIG_MIPS_BOOT_ENV_LEGACY is not set
|
|
CONFIG_MIPS_BOOT_FDT=y
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
CONFIG_OF_STDOUT_VIA_ALIAS=y
|
|
CONFIG_SYS_CBSIZE=512
|
|
CONFIG_SYS_PBSIZE=545
|
|
CONFIG_DISPLAY_CPUINFO=y
|
|
CONFIG_SYS_MALLOC_BOOTPARAMS=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_PROMPT="bcm968380gerg # "
|
|
CONFIG_SYS_MAXARGS=24
|
|
CONFIG_CMD_CPU=y
|
|
CONFIG_CMD_LICENSE=y
|
|
# CONFIG_CMD_BOOTD is not set
|
|
# CONFIG_CMD_ELF 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_MEMINFO=y
|
|
CONFIG_CMD_GPIO=y
|
|
# CONFIG_CMD_LOADS is not set
|
|
CONFIG_CMD_NAND=y
|
|
# CONFIG_CMD_SLEEP is not set
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_NO_NET=y
|
|
# CONFIG_DM_DEVICE_REMOVE is not set
|
|
CONFIG_BCM6345_GPIO=y
|
|
CONFIG_LED=y
|
|
CONFIG_LED_BCM6328=y
|
|
CONFIG_LED_BLINK=y
|
|
CONFIG_MTD=y
|
|
CONFIG_DM_MTD=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_NAND_BRCMNAND=y
|
|
CONFIG_NAND_BRCMNAND_6838=y
|
|
CONFIG_SYS_NAND_ONFI_DETECTION=y
|
|
CONFIG_PHY_RESET_DELAY=20
|
|
CONFIG_PHY=y
|
|
CONFIG_BCM6368_USBH_PHY=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_POWER_DOMAIN=y
|
|
CONFIG_BCM6328_POWER_DOMAIN=y
|
|
CONFIG_RESET_BCM6345=y
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_BCM6345_SERIAL=y
|
|
CONFIG_SYSRESET_WATCHDOG=y
|
|
CONFIG_WDT_BCM6345=y
|
|
CONFIG_LZO=y
|