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>
104 lines
2.7 KiB
Plaintext
104 lines
2.7 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_MX6=y
|
|
CONFIG_TEXT_BASE=0x17780000
|
|
CONFIG_SYS_MALLOC_LEN=0x01000000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x9000
|
|
CONFIG_SPL_GPIO=y
|
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_ENV_SIZE=0x1000
|
|
CONFIG_ENV_OFFSET=0x1fe000
|
|
CONFIG_MX6QDL=y
|
|
CONFIG_MX6_DDRCAL=y
|
|
CONFIG_TARGET_MX6Q_ACC=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="imx6q-bosch-acc"
|
|
CONFIG_SPL_TEXT_BASE=0x00908000
|
|
CONFIG_SYS_MONITOR_LEN=409600
|
|
CONFIG_SPL_MMC=y
|
|
CONFIG_SPL_SERIAL=y
|
|
CONFIG_BOOTCOUNT_BOOTLIMIT=8
|
|
CONFIG_WATCHDOG_TIMEOUT_MSECS=60000
|
|
CONFIG_SPL_SIZE_LIMIT=69632
|
|
CONFIG_SPL=y
|
|
CONFIG_ENV_OFFSET_REDUND=0x1ff000
|
|
CONFIG_IMX_HAB=y
|
|
# CONFIG_CMD_BMODE is not set
|
|
# CONFIG_CMD_DEKBLOB is not set
|
|
CONFIG_BUILD_TARGET=""
|
|
# CONFIG_LOCALVERSION_AUTO is not set
|
|
# CONFIG_EFI_LOADER is not set
|
|
CONFIG_FIT=y
|
|
CONFIG_FIT_SIGNATURE=y
|
|
CONFIG_FIT_VERBOSE=y
|
|
CONFIG_SHOW_BOOT_PROGRESS=y
|
|
CONFIG_USE_BOOTCOMMAND=y
|
|
CONFIG_BOOTCOMMAND="run mmc_mmc_fit"
|
|
CONFIG_SPL_BOARD_INIT=y
|
|
CONFIG_SPL_RAW_IMAGE_SUPPORT=y
|
|
CONFIG_SPL_SYS_MALLOC=y
|
|
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xaa
|
|
# CONFIG_SPL_CRYPTO is not set
|
|
CONFIG_SPL_WATCHDOG=y
|
|
CONFIG_HUSH_PARSER=y
|
|
# CONFIG_CMD_BDI is not set
|
|
# CONFIG_CMD_CONSOLE is not set
|
|
# CONFIG_CMD_BOOTD is not set
|
|
# CONFIG_CMD_ELF is not set
|
|
# CONFIG_CMD_FDT is not set
|
|
# CONFIG_CMD_GO 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_ENV_EXISTS is not set
|
|
# CONFIG_CMD_CRC32 is not set
|
|
# CONFIG_CMD_MEMORY is not set
|
|
# CONFIG_CMD_FUSE is not set
|
|
# CONFIG_CMD_LOADB is not set
|
|
# CONFIG_CMD_LOADS is not set
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_PART=y
|
|
# CONFIG_CMD_PINMUX 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_CMD_BLOCK_CACHE is not set
|
|
# CONFIG_CMD_SLEEP is not set
|
|
# CONFIG_CMD_MP is not set
|
|
# CONFIG_CMD_HASH is not set
|
|
CONFIG_CMD_EXT4=y
|
|
CONFIG_DOS_PARTITION=y
|
|
CONFIG_EFI_PARTITION=y
|
|
# CONFIG_SPL_EFI_PARTITION is not set
|
|
CONFIG_SPL_OF_CONTROL=y
|
|
CONFIG_MULTI_DTB_FIT=y
|
|
CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clocks clock-names interrupt-parent"
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
CONFIG_SYS_MMC_ENV_PART=1
|
|
CONFIG_ENV_WRITEABLE_LIST=y
|
|
CONFIG_ENV_ACCESS_IGNORE_FORCE=y
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_NO_NET=y
|
|
CONFIG_SPL_DM=y
|
|
CONFIG_BOOTCOUNT_LIMIT=y
|
|
CONFIG_DM_BOOTCOUNT=y
|
|
CONFIG_DM_BOOTCOUNT_PMIC_PFUZE100=y
|
|
CONFIG_SYS_I2C_MXC=y
|
|
CONFIG_SUPPORT_EMMC_BOOT=y
|
|
CONFIG_FSL_USDHC=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_IMX6=y
|
|
CONFIG_DM_PMIC=y
|
|
CONFIG_DM_PMIC_PFUZE100=y
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_MXC_UART=y
|
|
CONFIG_IMX_WATCHDOG=y
|
|
CONFIG_WDT=y
|
|
CONFIG_EXT4_WRITE=y
|
|
CONFIG_FS_FAT=y
|
|
CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED=y
|