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>
121 lines
3.2 KiB
Plaintext
121 lines
3.2 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_SKIP_LOWLEVEL_INIT_ONLY=y
|
|
CONFIG_SPL_SKIP_LOWLEVEL_INIT_ONLY=y
|
|
CONFIG_TPL_SKIP_LOWLEVEL_INIT_ONLY=y
|
|
# CONFIG_SPL_SYS_THUMB_BUILD is not set
|
|
# CONFIG_TPL_SYS_THUMB_BUILD is not set
|
|
# CONFIG_SPL_USE_ARCH_MEMCPY is not set
|
|
# CONFIG_SPL_USE_ARCH_MEMSET is not set
|
|
CONFIG_ARCH_ROCKCHIP=y
|
|
CONFIG_TEXT_BASE=0x60408000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x78000000
|
|
CONFIG_SF_DEFAULT_SPEED=20000000
|
|
CONFIG_ENV_SIZE=0x8000
|
|
CONFIG_DEFAULT_DEVICE_TREE="rk3066a-mk808"
|
|
CONFIG_SPL_TEXT_BASE=0x60000000
|
|
CONFIG_DM_RESET=y
|
|
CONFIG_ROCKCHIP_RK3066=y
|
|
# CONFIG_ROCKCHIP_STIMER is not set
|
|
CONFIG_TPL_TEXT_BASE=0x10080c00
|
|
CONFIG_TPL_STACK=0x1008FFFF
|
|
CONFIG_TARGET_MK808=y
|
|
CONFIG_SPL_STACK_R_ADDR=0x70000000
|
|
CONFIG_SPL_STACK=0x1008ffff
|
|
CONFIG_SPL_STACK_R=y
|
|
CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x200000
|
|
CONFIG_SYS_LOAD_ADDR=0x70800800
|
|
CONFIG_DEBUG_UART_BASE=0x20064000
|
|
CONFIG_DEBUG_UART_CLOCK=24000000
|
|
CONFIG_SPL_FS_FAT=y
|
|
CONFIG_TPL_MAX_SIZE=0x7ffc
|
|
CONFIG_SPL_PAYLOAD="u-boot.bin"
|
|
CONFIG_DEBUG_UART=y
|
|
CONFIG_SD_BOOT=y
|
|
CONFIG_USE_PREBOOT=y
|
|
CONFIG_DEFAULT_FDT_FILE="rk3066a-mk808.dtb"
|
|
CONFIG_SYS_CBSIZE=256
|
|
CONFIG_SYS_PBSIZE=276
|
|
# CONFIG_DISPLAY_CPUINFO is not set
|
|
CONFIG_DISPLAY_BOARDINFO_LATE=y
|
|
CONFIG_BOARD_LATE_INIT=y
|
|
CONFIG_SPL_MAX_SIZE=0x32000
|
|
CONFIG_SPL_PAD_TO=0x7f8000
|
|
CONFIG_SPL_NO_BSS_LIMIT=y
|
|
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
|
CONFIG_SPL_SEPARATE_BSS=y
|
|
CONFIG_SPL_FS_EXT4=y
|
|
CONFIG_SYS_MMCSD_FS_BOOT_PARTITION=2
|
|
CONFIG_TPL_NEEDS_SEPARATE_STACK=y
|
|
# CONFIG_BOOTM_PLAN9 is not set
|
|
# CONFIG_BOOTM_RTEMS is not set
|
|
# CONFIG_BOOTM_VXWORKS is not set
|
|
CONFIG_CMD_GPT=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_USB=y
|
|
CONFIG_CMD_ROCKUSB=y
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_TIME=y
|
|
CONFIG_CMD_REGULATOR=y
|
|
CONFIG_SPL_OF_CONTROL=y
|
|
CONFIG_TPL_OF_CONTROL=y
|
|
CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
|
|
CONFIG_OF_DTB_PROPS_REMOVE=y
|
|
CONFIG_SPL_OF_PLATDATA=y
|
|
CONFIG_TPL_OF_PLATDATA=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_NO_NET=y
|
|
CONFIG_TPL_DM=y
|
|
CONFIG_REGMAP=y
|
|
CONFIG_SPL_REGMAP=y
|
|
CONFIG_TPL_REGMAP=y
|
|
CONFIG_SYSCON=y
|
|
CONFIG_SPL_SYSCON=y
|
|
CONFIG_TPL_SYSCON=y
|
|
# CONFIG_SIMPLE_BUS is not set
|
|
# CONFIG_SPL_SIMPLE_BUS is not set
|
|
CONFIG_CLK=y
|
|
CONFIG_SPL_CLK=y
|
|
CONFIG_TPL_CLK=y
|
|
CONFIG_FASTBOOT_BUF_ADDR=0x80000000
|
|
CONFIG_ROCKCHIP_GPIO=y
|
|
# CONFIG_SPL_DM_I2C is not set
|
|
CONFIG_LED=y
|
|
CONFIG_LED_GPIO=y
|
|
CONFIG_MMC_IO_VOLTAGE=y
|
|
CONFIG_SPL_MMC_IO_VOLTAGE=y
|
|
CONFIG_MMC_UHS_SUPPORT=y
|
|
CONFIG_SPL_MMC_UHS_SUPPORT=y
|
|
CONFIG_MMC_DW=y
|
|
CONFIG_MMC_DW_ROCKCHIP=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_DM_PMIC=y
|
|
# CONFIG_SPL_PMIC_CHILDREN is not set
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
|
CONFIG_DM_REGULATOR_GPIO=y
|
|
CONFIG_RAM=y
|
|
CONFIG_SPL_RAM=y
|
|
CONFIG_TPL_RAM=y
|
|
# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
|
|
CONFIG_DEBUG_UART_SHIFT=2
|
|
CONFIG_SYS_NS16550_MEM32=y
|
|
CONFIG_ROCKCHIP_SERIAL=y
|
|
CONFIG_SYSRESET=y
|
|
CONFIG_TIMER=y
|
|
CONFIG_SPL_TIMER=y
|
|
CONFIG_TPL_TIMER=y
|
|
CONFIG_DESIGNWARE_APB_TIMER=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_DWC2=y
|
|
CONFIG_ROCKCHIP_USB2_PHY=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_DWC2_OTG=y
|
|
CONFIG_USB_FUNCTION_ROCKUSB=y
|
|
CONFIG_SPL_TINY_MEMSET=y
|
|
CONFIG_ERRNO_STR=y
|
|
# CONFIG_TPL_OF_LIBFDT is not set
|