Build AM335x when CONFIG_NET isn't defined
Subsystems (13)
v2 cover Build AM335x when CONFIG_NET isn't defined
Attempting to build AM335x without CONFIG_NET defined fails in assorted ways. This series fixes up those failures.
Green Travis build:
https://travis-ci.org/akiernan/u-boot/builds/360614817
Changes in v2:
- Move DRIVER_TI_CPSW outside of the NETDEVICES guard
- Don't mark DRIVER_TI_CPSW default if ARCH_OMAP2PLUS to fix mistranslations by moveconfig
- Moved enetaddr env access declarations to include/environment.h
- Replace uchar with uint8_t in eth_env_* to avoid dependency on include/common.h
- include environment.h where needed to satisfy eth_env_* dependencies
Alex Kiernan (5):
Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
ti: am335x: Fix bootargs when building without NET
usb: gadget: USB_ETHER requires network support
ti: am335x: Fix build when networking is disabled
net: Move enetaddr env access code to env config instead of net config
arch/arm/cpu/arm926ejs/spear/spr_misc.c | 1 + arch/arm/mach-davinci/misc.c | 1 + arch/arm/mach-omap2/utils.c | 1 + arch/powerpc/cpu/mpc85xx/fdt.c | 1 + board/BuR/common/common.c | 1 + board/CZ.NIC/turris_omnia/turris_omnia.c | 1 + board/LaCie/net2big_v2/net2big_v2.c | 1 + board/LaCie/netspace_v2/netspace_v2.c | 1 + board/amlogic/khadas-vim/khadas-vim.c | 1 + board/amlogic/libretech-cc/libretech-cc.c | 1 + board/amlogic/odroid-c2/odroid-c2.c | 1 + board/amlogic/p212/p212.c | 1 + board/atmel/common/mac_eeprom.c | 1 + board/buffalo/lsxl/lsxl.c | 1 + board/compulab/cl-som-am57x/eth.c | 1 + board/compulab/cl-som-imx7/cl-som-imx7.c | 1 + board/compulab/cm_fx6/cm_fx6.c | 1 + board/compulab/cm_t335/cm_t335.c | 1 + board/compulab/cm_t35/cm_t35.c | 1 + board/compulab/cm_t3517/cm_t3517.c | 1 + board/compulab/cm_t54/cm_t54.c | 1 + board/davinci/da8xxevm/da850evm.c | 1 + board/dhelectronics/dh_imx6/dh_imx6.c | 1 + board/gateworks/gw_ventana/gw_ventana.c | 1 + board/ge/mx53ppd/mx53ppd.c | 1 + board/kosagi/novena/novena.c | 1 + board/logicpd/zoom1/zoom1.c | 1 + board/phytec/pcm051/board.c | 1 + board/phytec/phycore_rk3288/phycore-rk3288.c | 1 + board/raspberrypi/rpi/rpi.c | 1 + board/renesas/alt/alt.c | 1 + board/renesas/blanche/blanche.c | 1 + board/renesas/gose/gose.c | 1 + board/renesas/koelsch/koelsch.c | 1 + board/renesas/lager/lager.c | 1 + board/renesas/sh7752evb/sh7752evb.c | 1 + board/renesas/sh7753evb/sh7753evb.c | 1 + board/renesas/sh7757lcr/sh7757lcr.c | 1 + board/renesas/silk/silk.c | 1 + board/renesas/stout/stout.c | 1 + board/rockchip/tinker_rk3288/tinker-rk3288.c | 1 + board/samtec/vining_2000/vining_2000.c | 1 + board/samtec/vining_fpga/socfpga.c | 1 + board/siemens/common/factoryset.c | 1 + board/siemens/pxm2/board.c | 1 + board/silica/pengwyn/board.c | 1 + board/technologic/ts4800/ts4800.c | 1 + board/theobroma-systems/puma_rk3399/puma-rk3399.c | 1 + board/ti/am335x/board.c | 8 +++--- board/ti/am43xx/board.c | 1 + board/ti/ti814x/evm.c | 1 + board/ti/ti816x/evm.c | 1 + board/timll/devkit8000/devkit8000.c | 1 + board/toradex/common/tdx-common.c | 1 + cmd/elf.c | 1 + cmd/ethsw.c | 1 + cmd/nvedit.c | 30 ++++++++++++++++++++++ configs/am335x_baltos_defconfig | 4 +-- configs/am335x_boneblack_defconfig | 4 +-- configs/am335x_boneblack_vboot_defconfig | 4 +-- configs/am335x_evm_defconfig | 4 +-- configs/am335x_evm_nor_defconfig | 4 +-- configs/am335x_evm_norboot_defconfig | 2 +- configs/am335x_evm_spiboot_defconfig | 4 +-- configs/am335x_evm_usbspl_defconfig | 4 +-- configs/am335x_hs_evm_defconfig | 4 +-- configs/am335x_hs_evm_uart_defconfig | 4 +-- configs/am335x_igep003x_defconfig | 6 ++--- configs/am335x_pdu001_defconfig | 3 ++- configs/am335x_shc_defconfig | 4 +-- configs/am335x_shc_ict_defconfig | 4 +-- configs/am335x_shc_netboot_defconfig | 4 +-- configs/am335x_shc_prompt_defconfig | 4 +-- configs/am335x_shc_sdboot_defconfig | 4 +-- configs/am335x_shc_sdboot_prompt_defconfig | 4 +-- configs/am335x_sl50_defconfig | 4 +-- configs/am43xx_evm_defconfig | 4 +-- configs/am43xx_evm_ethboot_defconfig | 4 +-- configs/am43xx_evm_qspiboot_defconfig | 2 +- configs/am43xx_evm_usbhost_boot_defconfig | 4 +-- configs/am43xx_hs_evm_defconfig | 4 +-- configs/am57xx_evm_defconfig | 4 +-- configs/am57xx_hs_evm_defconfig | 4 +-- configs/birdland_bav335a_defconfig | 4 +-- configs/birdland_bav335b_defconfig | 4 +-- configs/brppt1_mmc_defconfig | 4 +-- configs/brppt1_nand_defconfig | 4 +-- configs/brppt1_spi_defconfig | 4 +-- configs/brxre1_defconfig | 4 +-- configs/chiliboard_defconfig | 4 +-- configs/cl-som-am57x_defconfig | 4 +-- configs/cm_t335_defconfig | 4 +-- configs/cm_t43_defconfig | 4 +-- configs/dra7xx_evm_defconfig | 4 +-- configs/dra7xx_hs_evm_defconfig | 4 +-- configs/draco_defconfig | 4 +-- configs/etamin_defconfig | 4 +-- configs/pcm051_rev1_defconfig | 4 +-- configs/pcm051_rev3_defconfig | 4 +-- configs/pengwyn_defconfig | 4 +-- configs/pepper_defconfig | 4 +-- configs/pxm2_defconfig | 4 +-- configs/rastaban_defconfig | 4 +-- configs/rut_defconfig | 4 +-- configs/thuban_defconfig | 4 +-- configs/ti814x_evm_defconfig | 4 +-- drivers/net/Kconfig | 7 +++++ drivers/net/cpsw-common.c | 1 + drivers/net/fec_mxc.c | 1 + drivers/net/fsl_mcdmafec.c | 1 + drivers/net/mcffec.c | 1 + drivers/net/ne2000_base.c | 1 + drivers/net/sh_eth.c | 1 + drivers/usb/gadget/Kconfig | 1 + drivers/usb/gadget/ether.c | 1 + include/configs/am335x_evm.h | 16 ++++++++++-- include/configs/am335x_shc.h | 1 - include/configs/am43xx_evm.h | 1 - include/configs/am57xx_evm.h | 1 - include/configs/bur_am335x_common.h | 1 - include/configs/cl-som-am57x.h | 1 - include/configs/cm_t43.h | 1 - include/configs/dra7xx_evm.h | 1 - include/configs/siemens-am33x-common.h | 1 - include/configs/ti814x_evm.h | 1 - include/configs/ti_am335x_common.h | 1 - include/environment.h | 4 +++ include/net.h | 3 --- net/eth_common.c | 31 +---------------------- scripts/config_whitelist.txt | 1 - 130 files changed, 219 insertions(+), 147 deletions(-)
Signature · 1 line
2.7.4
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
This converts CONFIG_DRIVER_TI_CPSW to Kconfig
---
Changes in v2:
- Move DRIVER_TI_CPSW outside of the NETDEVICES guard
- Don't mark DRIVER_TI_CPSW default if ARCH_OMAP2PLUS to fix mistranslations by moveconfig
configs/am335x_baltos_defconfig | 4 ++-- configs/am335x_boneblack_defconfig | 4 ++-- configs/am335x_boneblack_vboot_defconfig | 4 ++-- configs/am335x_evm_defconfig | 4 ++-- configs/am335x_evm_nor_defconfig | 4 ++-- configs/am335x_evm_norboot_defconfig | 2 +- configs/am335x_evm_spiboot_defconfig | 4 ++-- configs/am335x_evm_usbspl_defconfig | 4 ++-- configs/am335x_hs_evm_defconfig | 4 ++-- configs/am335x_hs_evm_uart_defconfig | 4 ++-- configs/am335x_igep003x_defconfig | 6 ++---- configs/am335x_pdu001_defconfig | 3 ++- configs/am335x_shc_defconfig | 4 ++-- configs/am335x_shc_ict_defconfig | 4 ++-- configs/am335x_shc_netboot_defconfig | 4 ++-- configs/am335x_shc_prompt_defconfig | 4 ++-- configs/am335x_shc_sdboot_defconfig | 4 ++-- configs/am335x_shc_sdboot_prompt_defconfig | 4 ++-- configs/am335x_sl50_defconfig | 4 ++-- configs/am43xx_evm_defconfig | 4 ++-- configs/am43xx_evm_ethboot_defconfig | 4 ++-- configs/am43xx_evm_qspiboot_defconfig | 2 +- configs/am43xx_evm_usbhost_boot_defconfig | 4 ++-- configs/am43xx_hs_evm_defconfig | 4 ++-- configs/am57xx_evm_defconfig | 4 ++-- configs/am57xx_hs_evm_defconfig | 4 ++-- configs/birdland_bav335a_defconfig | 4 ++-- configs/birdland_bav335b_defconfig | 4 ++-- configs/brppt1_mmc_defconfig | 4 ++-- configs/brppt1_nand_defconfig | 4 ++-- configs/brppt1_spi_defconfig | 4 ++-- configs/brxre1_defconfig | 4 ++-- configs/chiliboard_defconfig | 4 ++-- configs/cl-som-am57x_defconfig | 4 ++-- configs/cm_t335_defconfig | 4 ++-- configs/cm_t43_defconfig | 4 ++-- configs/dra7xx_evm_defconfig | 4 ++-- configs/dra7xx_hs_evm_defconfig | 4 ++-- configs/draco_defconfig | 4 ++-- configs/etamin_defconfig | 4 ++-- configs/pcm051_rev1_defconfig | 4 ++-- configs/pcm051_rev3_defconfig | 4 ++-- configs/pengwyn_defconfig | 4 ++-- configs/pepper_defconfig | 4 ++-- configs/pxm2_defconfig | 4 ++-- configs/rastaban_defconfig | 4 ++-- configs/rut_defconfig | 4 ++-- configs/thuban_defconfig | 4 ++-- configs/ti814x_evm_defconfig | 4 ++-- drivers/net/Kconfig | 7 +++++++ include/configs/am335x_shc.h | 1 - include/configs/am43xx_evm.h | 1 - include/configs/am57xx_evm.h | 1 - include/configs/bur_am335x_common.h | 1 - include/configs/cl-som-am57x.h | 1 - include/configs/cm_t43.h | 1 - include/configs/dra7xx_evm.h | 1 - include/configs/siemens-am33x-common.h | 1 - include/configs/ti814x_evm.h | 1 - include/configs/ti_am335x_common.h | 1 - scripts/config_whitelist.txt | 1 - 61 files changed, 103 insertions(+), 108 deletions(-)
configs/am335x_baltos_defconfig +2 -2
@@ -9,6 +9,7 @@ CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DISTRO_DEFAULTS=y CONFIG_FIT_VERBOSE=y
@@ -17,7 +18,6 @@ CONFIG_OF_BOARD_SETUP=y CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_EXT_SUPPORT=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_MTD_SUPPORT=y
@@ -42,7 +42,7 @@ CONFIG_BOOTCOUNT_LIMIT=y CONFIG_SYS_OMAP24_I2C_SPEED=1000 CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/am335x_boneblack_defconfig +2 -2
@@ -3,13 +3,13 @@ CONFIG_ARCH_OMAP2PLUS=y CONFIG_TI_COMMON_CMD_OPTIONS=y CONFIG_AM33XX=y # CONFIG_SPL_NAND_SUPPORT is not set +CONFIG_SPL=y CONFIG_DISTRO_DEFAULTS=y CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT" CONFIG_BOOTCOMMAND="if test ${boot_fit} -eq 1; then run update_to_fit; fi; run findfdt; run init_console; run envboot; run distro_bootcmd" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_MUSB_NEW_SUPPORT=y CONFIG_SPL_OS_BOOT=y CONFIG_AUTOBOOT_KEYED=y
@@ -30,7 +30,7 @@ CONFIG_DFU_RAM=y CONFIG_MMC_OMAP_HS=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/am335x_boneblack_vboot_defconfig +2 -2
@@ -3,6 +3,7 @@ CONFIG_ARCH_OMAP2PLUS=y CONFIG_TI_COMMON_CMD_OPTIONS=y CONFIG_AM33XX=y # CONFIG_SPL_NAND_SUPPORT is not set +CONFIG_SPL=y CONFIG_DEFAULT_DEVICE_TREE="am335x-boneblack" CONFIG_DISTRO_DEFAULTS=y CONFIG_FIT_SIGNATURE=y
@@ -12,7 +13,6 @@ CONFIG_BOOTCOMMAND="if test ${boot_fit} -eq 1; then run update_to_fit; fi; run f CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_MUSB_NEW_SUPPORT=y CONFIG_SPL_OS_BOOT=y CONFIG_AUTOBOOT_KEYED=y
@@ -34,8 +34,8 @@ CONFIG_DM_MMC=y CONFIG_MMC_OMAP_HS=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y -CONFIG_PHYLIB=y CONFIG_DM_ETH=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_PHY_GIGE=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y
configs/am335x_evm_defconfig +2 -2
@@ -2,6 +2,7 @@ CONFIG_ARM=y CONFIG_ARCH_OMAP2PLUS=y CONFIG_TI_COMMON_CMD_OPTIONS=y CONFIG_AM33XX=y +CONFIG_SPL=y CONFIG_DEFAULT_DEVICE_TREE="am335x-evm" CONFIG_DISTRO_DEFAULTS=y CONFIG_SPL_SYS_MALLOC_F_LEN=0x1000
@@ -10,7 +11,6 @@ CONFIG_BOOTCOMMAND="if test ${boot_fit} -eq 1; then run update_to_fit; fi; run f CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MUSB_NEW_SUPPORT=y CONFIG_SPL_OS_BOOT=y
@@ -39,8 +39,8 @@ CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y -CONFIG_PHYLIB=y CONFIG_DM_ETH=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_PHY_GIGE=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y
configs/am335x_evm_nor_defconfig +2 -2
@@ -3,12 +3,12 @@ CONFIG_ARCH_OMAP2PLUS=y CONFIG_TI_COMMON_CMD_OPTIONS=y CONFIG_AM33XX=y CONFIG_NOR=y +CONFIG_SPL=y CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTCOMMAND="if test ${boot_fit} -eq 1; then run update_to_fit; fi; run findfdt; run init_console; run envboot; run distro_bootcmd" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_MUSB_NEW_SUPPORT=y CONFIG_SPL_OS_BOOT=y
@@ -29,7 +29,7 @@ CONFIG_MTD_NOR_FLASH=y CONFIG_NAND=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/am335x_evm_norboot_defconfig +1 -1
@@ -24,7 +24,7 @@ CONFIG_MMC_OMAP_HS=y CONFIG_MTD_NOR_FLASH=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/am335x_evm_spiboot_defconfig +2 -2
@@ -5,6 +5,7 @@ CONFIG_AM33XX=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y +CONFIG_SPL=y CONFIG_DISTRO_DEFAULTS=y CONFIG_SYS_EXTRA_OPTIONS="SPI_BOOT" CONFIG_SPI_BOOT=y
@@ -12,7 +13,6 @@ CONFIG_BOOTCOMMAND="if test ${boot_fit} -eq 1; then run update_to_fit; fi; run f CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_MUSB_NEW_SUPPORT=y CONFIG_FASTBOOT=y # CONFIG_CMD_FLASH is not set
@@ -27,7 +27,7 @@ CONFIG_DFU_RAM=y CONFIG_MMC_OMAP_HS=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/am335x_evm_usbspl_defconfig +2 -2
@@ -3,13 +3,13 @@ CONFIG_ARCH_OMAP2PLUS=y CONFIG_TI_COMMON_CMD_OPTIONS=y CONFIG_AM33XX=y # CONFIG_SPL_NAND_SUPPORT is not set +CONFIG_SPL=y CONFIG_DISTRO_DEFAULTS=y # CONFIG_ANDROID_BOOT_IMAGE is not set CONFIG_BOOTCOMMAND="if test ${boot_fit} -eq 1; then run update_to_fit; fi; run findfdt; run init_console; run envboot; run distro_bootcmd" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_MUSB_NEW_SUPPORT=y CONFIG_SPL_NET_SUPPORT=y CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
@@ -34,7 +34,7 @@ CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/am335x_hs_evm_defconfig +2 -2
@@ -7,6 +7,7 @@ CONFIG_TI_COMMON_CMD_OPTIONS=y CONFIG_AM33XX=y CONFIG_ISW_ENTRY_ADDR=0x40300350 # CONFIG_SPL_NAND_SUPPORT is not set +CONFIG_SPL=y CONFIG_DEFAULT_DEVICE_TREE="am335x-evm" CONFIG_DISTRO_DEFAULTS=y CONFIG_SPL_SYS_MALLOC_F_LEN=0x1000
@@ -18,7 +19,6 @@ CONFIG_LOGLEVEL=3 CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_FIT_IMAGE_TINY=y # CONFIG_SPL_ENV_SUPPORT is not set # CONFIG_SPL_EXT_SUPPORT is not set
@@ -46,8 +46,8 @@ CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y -CONFIG_PHYLIB=y CONFIG_DM_ETH=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_PHY_GIGE=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y
configs/am335x_hs_evm_uart_defconfig +2 -2
@@ -7,6 +7,7 @@ CONFIG_ISW_ENTRY_ADDR=0x40301950 # CONFIG_SPL_MMC_SUPPORT is not set # CONFIG_SPL_LIBDISK_SUPPORT is not set # CONFIG_SPL_NAND_SUPPORT is not set +CONFIG_SPL=y # CONFIG_SPL_FAT_SUPPORT is not set CONFIG_DEFAULT_DEVICE_TREE="am335x-evm" CONFIG_DISTRO_DEFAULTS=y
@@ -16,7 +17,6 @@ CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y # CONFIG_SPL_ENV_SUPPORT is not set # CONFIG_SPL_EXT_SUPPORT is not set CONFIG_SPL_MTD_SUPPORT=y
@@ -42,8 +42,8 @@ CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y -CONFIG_PHYLIB=y CONFIG_DM_ETH=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_PHY_GIGE=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y
configs/am335x_igep003x_defconfig +2 -4
@@ -10,6 +10,7 @@ CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DISTRO_DEFAULTS=y CONFIG_OF_BOARD_SETUP=y
@@ -17,7 +18,6 @@ CONFIG_SYS_EXTRA_OPTIONS="MACH_TYPE=MACH_TYPE_IGEP0033" # CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y -CONFIG_SPL=y CONFIG_SPL_EXT_SUPPORT=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_MTD_SUPPORT=y
@@ -37,14 +37,12 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0" CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:512k(SPL),-(UBI)" CONFIG_CMD_UBI=y -CONFIG_UBI_SILENCE_MSG=y # CONFIG_CMD_UBIFS is not set CONFIG_ENV_IS_IN_UBI=y -CONFIG_UBIFS_SILENCE_MSG=y CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y CONFIG_MTD_UBI_FASTMAP=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_FAT_WRITE=y
configs/am335x_pdu001_defconfig +2 -1
@@ -9,13 +9,13 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DEFAULT_DEVICE_TREE="am335x-pdu001" CONFIG_LOCALVERSION="-EETS-1.0.0" CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTDELAY=1 # CONFIG_USE_BOOTCOMMAND is not set -CONFIG_SPL=y # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_YMODEM_SUPPORT=y
@@ -39,6 +39,7 @@ CONFIG_DM_GPIO=y CONFIG_DM_I2C=y CONFIG_MMC_OMAP_HS=y CONFIG_MMC_SDHCI=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_PINCTRL=y CONFIG_PINCTRL_SINGLE=y CONFIG_DM_PMIC=y
configs/am335x_shc_defconfig +2 -2
@@ -10,13 +10,13 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_SERIES=y CONFIG_DISTRO_DEFAULTS=y # CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y -CONFIG_SPL=y CONFIG_SPL_EXT_SUPPORT=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_OS_BOOT=y
@@ -35,7 +35,7 @@ CONFIG_CMD_MMC=y # CONFIG_SPL_ISO_PARTITION is not set CONFIG_ENV_IS_IN_MMC=y CONFIG_MMC_OMAP_HS=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_FAT_WRITE=y
configs/am335x_shc_ict_defconfig +2 -2
@@ -10,6 +10,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_SHC_ICT=y CONFIG_SERIES=y
@@ -17,7 +18,6 @@ CONFIG_DISTRO_DEFAULTS=y # CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y -CONFIG_SPL=y CONFIG_SPL_EXT_SUPPORT=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_OS_BOOT=y
@@ -36,7 +36,7 @@ CONFIG_CMD_MMC=y # CONFIG_SPL_ISO_PARTITION is not set CONFIG_ENV_IS_IN_MMC=y CONFIG_MMC_OMAP_HS=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_FAT_WRITE=y
configs/am335x_shc_netboot_defconfig +2 -2
@@ -10,6 +10,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_SHC_NETBOOT=y CONFIG_SERIES=y
@@ -17,7 +18,6 @@ CONFIG_DISTRO_DEFAULTS=y # CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y -CONFIG_SPL=y CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_EXT_SUPPORT=y CONFIG_SPL_I2C_SUPPORT=y
@@ -37,7 +37,7 @@ CONFIG_CMD_MMC=y # CONFIG_SPL_ISO_PARTITION is not set CONFIG_ENV_IS_IN_MMC=y CONFIG_MMC_OMAP_HS=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_FAT_WRITE=y
configs/am335x_shc_prompt_defconfig +2 -2
@@ -10,13 +10,13 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_SERIES=y CONFIG_DISTRO_DEFAULTS=y # CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y -CONFIG_SPL=y CONFIG_SPL_EXT_SUPPORT=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_OS_BOOT=y
@@ -34,7 +34,7 @@ CONFIG_CMD_MMC=y # CONFIG_SPL_ISO_PARTITION is not set CONFIG_ENV_IS_IN_MMC=y CONFIG_MMC_OMAP_HS=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_FAT_WRITE=y
configs/am335x_shc_sdboot_defconfig +2 -2
@@ -10,6 +10,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_SHC_SDBOOT=y CONFIG_SERIES=y
@@ -17,7 +18,6 @@ CONFIG_DISTRO_DEFAULTS=y # CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y -CONFIG_SPL=y CONFIG_SPL_EXT_SUPPORT=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_OS_BOOT=y
@@ -36,7 +36,7 @@ CONFIG_CMD_MMC=y # CONFIG_SPL_ISO_PARTITION is not set CONFIG_ENV_IS_IN_MMC=y CONFIG_MMC_OMAP_HS=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_FAT_WRITE=y
configs/am335x_shc_sdboot_prompt_defconfig +2 -2
@@ -10,6 +10,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_SHC_SDBOOT=y CONFIG_SERIES=y
@@ -17,7 +18,6 @@ CONFIG_DISTRO_DEFAULTS=y # CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y -CONFIG_SPL=y CONFIG_SPL_EXT_SUPPORT=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_OS_BOOT=y
@@ -36,7 +36,7 @@ CONFIG_CMD_MMC=y # CONFIG_SPL_ISO_PARTITION is not set CONFIG_ENV_IS_IN_MMC=y CONFIG_MMC_OMAP_HS=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_FAT_WRITE=y
configs/am335x_sl50_defconfig +2 -2
@@ -10,12 +10,12 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DISTRO_DEFAULTS=y CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y -CONFIG_SPL=y CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_EXT_SUPPORT=y CONFIG_SPL_I2C_SUPPORT=y
@@ -40,7 +40,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_ENV_IS_IN_MMC=y CONFIG_BOOTCOUNT_LIMIT=y CONFIG_MMC_OMAP_HS=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_FAT_WRITE=y
configs/am43xx_evm_defconfig +2 -2
@@ -3,6 +3,7 @@ CONFIG_ARCH_OMAP2PLUS=y CONFIG_TI_COMMON_CMD_OPTIONS=y CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_AM43XX=y +CONFIG_SPL=y CONFIG_DEFAULT_DEVICE_TREE="am437x-gp-evm" CONFIG_DISTRO_DEFAULTS=y CONFIG_SPL_LOAD_FIT=y
@@ -10,7 +11,6 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1" # CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y -CONFIG_SPL=y CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_OS_BOOT=y CONFIG_CMD_SPL=y
@@ -35,7 +35,7 @@ CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_MACRONIX=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_PHY_GIGE=y CONFIG_DM_SERIAL=y CONFIG_SYS_NS16550=y
configs/am43xx_evm_ethboot_defconfig +2 -2
@@ -1,12 +1,12 @@ CONFIG_ARM=y CONFIG_ARCH_OMAP2PLUS=y CONFIG_AM43XX=y +CONFIG_SPL=y CONFIG_DISTRO_DEFAULTS=y CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1" # CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y -CONFIG_SPL=y # CONFIG_SPL_SYS_MALLOC_SIMPLE is not set CONFIG_SPL_ETH_SUPPORT=y CONFIG_SPL_MTD_SUPPORT=y
@@ -41,7 +41,7 @@ CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_MACRONIX=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_TI_QSPI=y CONFIG_USB=y
configs/am43xx_evm_qspiboot_defconfig +1 -1
@@ -30,7 +30,7 @@ CONFIG_DFU_SF=y CONFIG_MMC_OMAP_HS=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_MACRONIX=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_TI_QSPI=y CONFIG_USB=y
configs/am43xx_evm_usbhost_boot_defconfig +2 -2
@@ -3,6 +3,7 @@ CONFIG_ARCH_OMAP2PLUS=y CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_AM43XX=y CONFIG_ISW_ENTRY_ADDR=0x40300350 +CONFIG_SPL=y CONFIG_DEFAULT_DEVICE_TREE="am437x-gp-evm" CONFIG_DISTRO_DEFAULTS=y CONFIG_SPL_LOAD_FIT=y
@@ -10,7 +11,6 @@ CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1" # CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y -CONFIG_SPL=y CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_OS_BOOT=y CONFIG_SPL_USB_HOST_SUPPORT=y
@@ -49,7 +49,7 @@ CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_MACRONIX=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_PHY_GIGE=y CONFIG_DM_SERIAL=y CONFIG_SYS_NS16550=y
configs/am43xx_hs_evm_defconfig +2 -2
@@ -8,6 +8,7 @@ CONFIG_TI_SECURE_EMIF_REGION_START=0xbdb00000 CONFIG_TI_SECURE_EMIF_TOTAL_REGION_SIZE=0x02000000 CONFIG_TI_SECURE_EMIF_PROTECTED_REGION_SIZE=0x01c00000 CONFIG_ISW_ENTRY_ADDR=0x403018e0 +CONFIG_SPL=y CONFIG_DEFAULT_DEVICE_TREE="am437x-gp-evm" CONFIG_DISTRO_DEFAULTS=y CONFIG_FIT_IMAGE_POST_PROCESS=y
@@ -18,7 +19,6 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1" # CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y -CONFIG_SPL=y CONFIG_SPL_ETH_SUPPORT=y CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_NET_SUPPORT=y
@@ -46,7 +46,7 @@ CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_MACRONIX=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_PHY_GIGE=y CONFIG_DM_SERIAL=y CONFIG_SYS_NS16550=y
configs/am57xx_evm_defconfig +2 -2
@@ -7,6 +7,7 @@ CONFIG_TARGET_AM57XX_EVM=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y +CONFIG_SPL=y CONFIG_ARMV7_LPAE=y CONFIG_DEFAULT_DEVICE_TREE="am572x-idk" CONFIG_DISTRO_DEFAULTS=y
@@ -18,7 +19,6 @@ CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200 androidboo CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_BOARD_EARLY_INIT_F=y -CONFIG_SPL=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_SEPARATE_BSS=y CONFIG_SPL_DMA_SUPPORT=y
@@ -51,10 +51,10 @@ CONFIG_DM_SPI_FLASH=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_SPANSION=y -CONFIG_PHYLIB=y CONFIG_PHY_MICREL=y CONFIG_PHY_MICREL_KSZ90X1=y CONFIG_DM_ETH=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_DM_PMIC=y CONFIG_PMIC_PALMAS=y CONFIG_DM_REGULATOR=y
configs/am57xx_hs_evm_defconfig +2 -2
@@ -11,6 +11,7 @@ CONFIG_TARGET_AM57XX_EVM=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y +CONFIG_SPL=y CONFIG_ARMV7_LPAE=y CONFIG_DEFAULT_DEVICE_TREE="am57xx-beagle-x15" CONFIG_DISTRO_DEFAULTS=y
@@ -24,7 +25,6 @@ CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200 androidboo CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_BOARD_EARLY_INIT_F=y -CONFIG_SPL=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_SEPARATE_BSS=y CONFIG_SPL_DMA_SUPPORT=y
@@ -54,10 +54,10 @@ CONFIG_DM_SPI_FLASH=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_SPANSION=y -CONFIG_PHYLIB=y CONFIG_PHY_MICREL=y CONFIG_PHY_MICREL_KSZ90X1=y CONFIG_DM_ETH=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_DM_PMIC=y CONFIG_PMIC_PALMAS=y CONFIG_DM_REGULATOR=y
configs/birdland_bav335a_defconfig +2 -2
@@ -10,6 +10,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_BAV_VERSION=1 CONFIG_DISTRO_DEFAULTS=y
@@ -18,7 +19,6 @@ CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_EXT_SUPPORT=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_MUSB_NEW_SUPPORT=y
@@ -48,7 +48,7 @@ CONFIG_DFU_RAM=y CONFIG_MMC_OMAP_HS=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/birdland_bav335b_defconfig +2 -2
@@ -10,6 +10,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_BAV_VERSION=2 CONFIG_DISTRO_DEFAULTS=y
@@ -18,7 +19,6 @@ CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_EXT_SUPPORT=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_MUSB_NEW_SUPPORT=y
@@ -48,7 +48,7 @@ CONFIG_DFU_RAM=y CONFIG_MMC_OMAP_HS=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/brppt1_mmc_defconfig +2 -2
@@ -9,6 +9,7 @@ CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_OF_BOARD_SETUP=y CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,EMMC_BOOT" CONFIG_BOOTDELAY=-2
@@ -20,7 +21,6 @@ CONFIG_VERSION_VARIABLE=y # CONFIG_DISPLAY_CPUINFO is not set # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_POWER_SUPPORT=y CONFIG_SPL_YMODEM_SUPPORT=y
@@ -54,7 +54,7 @@ CONFIG_BOOTP_GATEWAY=y CONFIG_BOOTP_SUBNETMASK=y CONFIG_BOOTCOUNT_LIMIT=y CONFIG_MMC_OMAP_HS=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_USB_MUSB_HOST=y
configs/brppt1_nand_defconfig +2 -2
@@ -7,6 +7,7 @@ CONFIG_AM33XX=y CONFIG_TARGET_BRPPT1=y CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_OF_BOARD_SETUP=y CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1" CONFIG_BOOTDELAY=-2
@@ -18,7 +19,6 @@ CONFIG_VERSION_VARIABLE=y # CONFIG_DISPLAY_CPUINFO is not set # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_POWER_SUPPORT=y CONFIG_SPL_YMODEM_SUPPORT=y
@@ -56,7 +56,7 @@ CONFIG_BOOTP_SUBNETMASK=y CONFIG_BOOTCOUNT_LIMIT=y # CONFIG_MMC is not set CONFIG_NAND=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_USB_MUSB_HOST=y
configs/brppt1_spi_defconfig +2 -2
@@ -11,6 +11,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_OF_BOARD_SETUP=y CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,SPI_BOOT,EMMC_BOOT" CONFIG_SPI_BOOT=y
@@ -23,7 +24,6 @@ CONFIG_VERSION_VARIABLE=y # CONFIG_DISPLAY_CPUINFO is not set # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_POWER_SUPPORT=y CONFIG_SPL_YMODEM_SUPPORT=y
@@ -63,7 +63,7 @@ CONFIG_MMC_OMAP_HS=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_STMICRO=y # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/brxre1_defconfig +2 -2
@@ -8,6 +8,7 @@ CONFIG_TARGET_BRXRE1=y CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set +CONFIG_SPL=y CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1" CONFIG_BOOTDELAY=-2 # CONFIG_CONSOLE_MUX is not set
@@ -18,7 +19,6 @@ CONFIG_VERSION_VARIABLE=y # CONFIG_DISPLAY_CPUINFO is not set # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_POWER_SUPPORT=y CONFIG_SPL_YMODEM_SUPPORT=y
@@ -54,7 +54,7 @@ CONFIG_BOOTP_DNS=y CONFIG_BOOTP_GATEWAY=y CONFIG_BOOTP_SUBNETMASK=y CONFIG_MMC_OMAP_HS=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_USB_MUSB_HOST=y
configs/chiliboard_defconfig +2 -2
@@ -8,13 +8,13 @@ CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTDELAY=1 # CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_DEFAULT_FDT_FILE="am335x-chiliboard.dtb" -CONFIG_SPL=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_POWER_SUPPORT=y CONFIG_CMD_ASKENV=y
@@ -34,7 +34,7 @@ CONFIG_BOOTCOUNT_LIMIT=y CONFIG_DM_GPIO=y CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/cl-som-am57x_defconfig +2 -2
@@ -3,10 +3,10 @@ CONFIG_ARCH_OMAP2PLUS=y CONFIG_OMAP54XX=y CONFIG_TARGET_CL_SOM_AM57X=y # CONFIG_SPL_NAND_SUPPORT is not set +CONFIG_SPL=y CONFIG_DISTRO_DEFAULTS=y # CONFIG_USE_BOOTCOMMAND is not set CONFIG_VERSION_VARIABLE=y -CONFIG_SPL=y # CONFIG_SPL_EXT_SUPPORT is not set CONFIG_SYS_PROMPT="U-Boot# " CONFIG_CMD_ASKENV=y
@@ -42,7 +42,7 @@ CONFIG_SPI_FLASH_SPANSION=y CONFIG_SPI_FLASH_STMICRO=y CONFIG_SPI_FLASH_SST=y CONFIG_SPI_FLASH_WINBOND=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_CONS_INDEX=3 CONFIG_SYS_NS16550=y CONFIG_TI_QSPI=y
configs/cm_t335_defconfig +2 -2
@@ -9,12 +9,12 @@ CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DISTRO_DEFAULTS=y # CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y -CONFIG_SPL=y CONFIG_SPL_EXT_SUPPORT=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_MTD_SUPPORT=y
@@ -44,7 +44,7 @@ CONFIG_LED_STATUS_BOOT_ENABLE=y CONFIG_LED_STATUS_BOOT=0 CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_FAT_WRITE=y CONFIG_OF_LIBFDT=y
configs/cm_t43_defconfig +2 -2
@@ -10,6 +10,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DISTRO_DEFAULTS=y # CONFIG_USE_BOOTCOMMAND is not set
@@ -17,7 +18,6 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y # CONFIG_DISPLAY_CPUINFO is not set # CONFIG_DISPLAY_BOARDINFO is not set -CONFIG_SPL=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x480 CONFIG_SPL_EXT_SUPPORT=y CONFIG_SPL_I2C_SUPPORT=y
@@ -55,7 +55,7 @@ CONFIG_SPI_FLASH_SPANSION=y CONFIG_SPI_FLASH_STMICRO=y CONFIG_SPI_FLASH_SST=y CONFIG_SPI_FLASH_WINBOND=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_DM_SERIAL=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y
configs/dra7xx_evm_defconfig +2 -2
@@ -7,6 +7,7 @@ CONFIG_TARGET_DRA7XX_EVM=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y +CONFIG_SPL=y CONFIG_ARMV7_LPAE=y CONFIG_DEFAULT_DEVICE_TREE="dra7-evm" CONFIG_DISTRO_DEFAULTS=y
@@ -18,7 +19,6 @@ CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS0,115200 androidboo CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_BOARD_EARLY_INIT_F=y -CONFIG_SPL=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_SEPARATE_BSS=y CONFIG_SPL_DMA_SUPPORT=y
@@ -60,8 +60,8 @@ CONFIG_DM_SPI_FLASH=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_SPANSION=y -CONFIG_PHYLIB=y CONFIG_DM_ETH=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_PHY_GIGE=y CONFIG_SPL_PHY=y CONFIG_PMIC_PALMAS=y
configs/dra7xx_hs_evm_defconfig +2 -2
@@ -11,6 +11,7 @@ CONFIG_TARGET_DRA7XX_EVM=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y +CONFIG_SPL=y CONFIG_ARMV7_LPAE=y CONFIG_DEFAULT_DEVICE_TREE="dra7-evm" CONFIG_DISTRO_DEFAULTS=y
@@ -24,7 +25,6 @@ CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS0,115200 androidboo CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_BOARD_EARLY_INIT_F=y -CONFIG_SPL=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_SEPARATE_BSS=y CONFIG_SPL_DMA_SUPPORT=y
@@ -59,8 +59,8 @@ CONFIG_DM_SPI_FLASH=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_SPANSION=y -CONFIG_PHYLIB=y CONFIG_DM_ETH=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_PHY_GIGE=y CONFIG_SPL_PHY=y CONFIG_PMIC_PALMAS=y
configs/draco_defconfig +2 -2
@@ -14,6 +14,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DEFAULT_DEVICE_TREE="am335x-draco" CONFIG_ENV_VARS_UBOOT_CONFIG=y
@@ -21,7 +22,6 @@ CONFIG_BOOTDELAY=3 CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_YMODEM_SUPPORT=y CONFIG_HUSH_PARSER=y
@@ -64,7 +64,7 @@ CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_MTD_UBI_FASTMAP=y CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1 -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/etamin_defconfig +2 -2
@@ -14,6 +14,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DEFAULT_DEVICE_TREE="am335x-draco" CONFIG_ENV_VARS_UBOOT_CONFIG=y
@@ -21,7 +22,6 @@ CONFIG_BOOTDELAY=3 CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_YMODEM_SUPPORT=y CONFIG_HUSH_PARSER=y
@@ -64,7 +64,7 @@ CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_MTD_UBI_FASTMAP=y CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1 -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/pcm051_rev1_defconfig +2 -2
@@ -10,6 +10,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DISTRO_DEFAULTS=y CONFIG_SYS_EXTRA_OPTIONS="REV1"
@@ -17,7 +18,6 @@ CONFIG_SYS_EXTRA_OPTIONS="REV1" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_ETH_SUPPORT=y CONFIG_SPL_EXT_SUPPORT=y
@@ -42,7 +42,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_MMC_OMAP_HS=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/pcm051_rev3_defconfig +2 -2
@@ -10,6 +10,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DISTRO_DEFAULTS=y CONFIG_SYS_EXTRA_OPTIONS="REV3"
@@ -17,7 +18,6 @@ CONFIG_SYS_EXTRA_OPTIONS="REV3" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_ETH_SUPPORT=y CONFIG_SPL_EXT_SUPPORT=y
@@ -42,7 +42,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_MMC_OMAP_HS=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/pengwyn_defconfig +2 -2
@@ -9,13 +9,13 @@ CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DISTRO_DEFAULTS=y # CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_ETH_SUPPORT=y CONFIG_SPL_EXT_SUPPORT=y
@@ -46,7 +46,7 @@ CONFIG_CMD_DIAG=y CONFIG_ENV_IS_IN_NAND=y CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/pepper_defconfig +2 -2
@@ -10,12 +10,12 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DISTRO_DEFAULTS=y # CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y -CONFIG_SPL=y CONFIG_SPL_EXT_SUPPORT=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_POWER_SUPPORT=y
@@ -29,9 +29,9 @@ CONFIG_CMD_SPI=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_EXT4_WRITE=y CONFIG_MMC_OMAP_HS=y -CONFIG_PHYLIB=y CONFIG_PHY_MICREL=y CONFIG_PHY_MICREL_KSZ90X1=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_NETDEVICES=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y
configs/pxm2_defconfig +2 -2
@@ -14,6 +14,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DEFAULT_DEVICE_TREE="am335x-pxm50" CONFIG_ENV_VARS_UBOOT_CONFIG=y
@@ -23,7 +24,6 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_CPUINFO is not set # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_YMODEM_SUPPORT=y CONFIG_HUSH_PARSER=y
@@ -67,7 +67,7 @@ CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_MTD_UBI_FASTMAP=y CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1 -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/rastaban_defconfig +2 -2
@@ -14,6 +14,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DEFAULT_DEVICE_TREE="am335x-draco" CONFIG_ENV_VARS_UBOOT_CONFIG=y
@@ -21,7 +22,6 @@ CONFIG_BOOTDELAY=3 CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_YMODEM_SUPPORT=y CONFIG_HUSH_PARSER=y
@@ -64,7 +64,7 @@ CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_MTD_UBI_FASTMAP=y CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1 -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/rut_defconfig +2 -2
@@ -14,6 +14,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DEFAULT_DEVICE_TREE="am335x-rut" CONFIG_ENV_VARS_UBOOT_CONFIG=y
@@ -24,7 +25,6 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_ARCH_EARLY_INIT_R=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_YMODEM_SUPPORT=y CONFIG_HUSH_PARSER=y
@@ -68,7 +68,7 @@ CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_MTD_UBI_FASTMAP=y CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1 -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/thuban_defconfig +2 -2
@@ -14,6 +14,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DEFAULT_DEVICE_TREE="am335x-draco" CONFIG_ENV_VARS_UBOOT_CONFIG=y
@@ -21,7 +22,6 @@ CONFIG_BOOTDELAY=3 CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_ARCH_MISC_INIT=y -CONFIG_SPL=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_YMODEM_SUPPORT=y CONFIG_HUSH_PARSER=y
@@ -64,7 +64,7 @@ CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_MTD_UBI_FASTMAP=y CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1 -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OMAP3_SPI=y CONFIG_USB=y
configs/ti814x_evm_defconfig +2 -2
@@ -8,6 +8,7 @@ CONFIG_TARGET_TI814X_EVM=y CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_ENV_VARS_UBOOT_CONFIG=y CONFIG_BOOTDELAY=1
@@ -15,7 +16,6 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y # CONFIG_DISPLAY_CPUINFO is not set # CONFIG_DISPLAY_BOARDINFO is not set -CONFIG_SPL=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_YMODEM_SUPPORT=y
@@ -36,6 +36,6 @@ CONFIG_BOOTP_DNS=y CONFIG_BOOTP_GATEWAY=y CONFIG_BOOTP_SUBNETMASK=y CONFIG_MMC_OMAP_HS=y -CONFIG_PHYLIB=y +CONFIG_DRIVER_TI_CPSW=y CONFIG_SYS_NS16550=y CONFIG_OF_LIBFDT=y
drivers/net/Kconfig +7 -0
@@ -11,6 +11,13 @@ config DM_ETH This is currently implemented in net/eth.c Look in include/net.h for details. +config DRIVER_TI_CPSW + bool "TI Common Platform Ethernet Switch" + select PHYLIB + help + This driver supports the TI three port switch gigabit ethernet + subsystem found in the TI SoCs. + menuconfig NETDEVICES bool "Network device support" depends on NET
include/configs/am335x_shc.h +0 -1
@@ -251,7 +251,6 @@#undef CONFIG_TIMER#endif -#define CONFIG_DRIVER_TI_CPSW #define CONFIG_MII #define CONFIG_BOOTP_DEFAULT #define CONFIG_BOOTP_DNS2
include/configs/am43xx_evm.h +0 -1
@@ -221,7 +221,6 @@#define CONFIG_NET_RETRY_COUNT 10#endif -#define CONFIG_DRIVER_TI_CPSW #define PHY_ANEG_TIMEOUT 8000/* PHY needs longer aneg time at 1G */ #define CONFIG_SYS_RX_ETH_BUFFER 64
include/configs/am57xx_evm.h +0 -1
@@ -78,7 +78,6 @@#define CONFIG_BOOTP_DNS2 #define CONFIG_BOOTP_SEND_HOSTNAME #define CONFIG_NET_RETRY_COUNT 10 -#define CONFIG_DRIVER_TI_CPSW /* Driver for IP block */ #define CONFIG_MII /* Required in net/eth.c */ #define PHY_ANEG_TIMEOUT 8000/* PHY needs longer aneg time at 1G */
include/configs/bur_am335x_common.h +0 -1
@@ -29,7 +29,6 @@#define CONFIG_SYS_NS16550_COM1 0x44e09000/* UART0 */ /* Network defines */ -#define CONFIG_DRIVER_TI_CPSW /* Driver for IP block */ #define CONFIG_MII /* Required in net/eth.c */ #define CONFIG_PHY_NATSEMI
include/configs/cl-som-am57x.h +0 -1
@@ -81,7 +81,6 @@/* USB Networking options */ /* CPSW Ethernet */ -#define CONFIG_DRIVER_TI_CPSW #define CONFIG_MII #define CONFIG_BOOTP_DEFAULT #define CONFIG_BOOTP_SEND_HOSTNAME
include/configs/cm_t43.h +0 -1
@@ -45,7 +45,6 @@ 50, 51, 52, 53, 54, 55, 56, 57, }/* CPSW Ethernet support */ -#define CONFIG_DRIVER_TI_CPSW #define CONFIG_MII #define CONFIG_BOOTP_DEFAULT #define CONFIG_BOOTP_SEND_HOSTNAME
include/configs/dra7xx_evm.h +0 -1
@@ -97,7 +97,6 @@#define CONFIG_BOOTP_DNS2 #define CONFIG_BOOTP_SEND_HOSTNAME #define CONFIG_NET_RETRY_COUNT 10 -#define CONFIG_DRIVER_TI_CPSW /* Driver for IP block */ #define CONFIG_MII /* Required in net/eth.c */ #define CONFIG_PHY_TI
include/configs/siemens-am33x-common.h +0 -1
@@ -192,7 +192,6 @@# define CONFIG_ENV_SECT_SIZE (4 << 10)/* 4 KB sectors */ #endif /* SPI support */ -#define CONFIG_DRIVER_TI_CPSW #define CONFIG_MII #define CONFIG_BOOTP_DEFAULT #define CONFIG_BOOTP_DNS2
include/configs/ti814x_evm.h +0 -1
@@ -155,7 +155,6 @@#endif /* Ethernet */ -#define CONFIG_DRIVER_TI_CPSW #define CONFIG_MII #define CONFIG_BOOTP_DNS2 #define CONFIG_BOOTP_SEND_HOSTNAME
include/configs/ti_am335x_common.h +0 -1
@@ -36,7 +36,6 @@#define CONFIG_MII /* Required in net/eth.c */ #endif -#define CONFIG_DRIVER_TI_CPSW /* Driver for IP block */ /* * SPL related defines. The Public RAM memory map the ROM defines the * area between 0x402F0400 and 0x4030B800 as a download area and
scripts/config_whitelist.txt +0 -1
@@ -411,7 +411,6 @@ CONFIG_DRIVER_NE2000_BASE CONFIG_DRIVER_NE2000_CCR CONFIG_DRIVER_NE2000_VAL CONFIG_DRIVER_SMC911X_BASE -CONFIG_DRIVER_TI_CPSW CONFIG_DRIVER_TI_EMAC CONFIG_DRIVER_TI_EMAC_RMII_NO_NEGOTIATE CONFIG_DRIVER_TI_EMAC_USE_RMII
Signature · 1 line
2.7.4
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Hi Alex,
Quoted 11 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigSigned-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>---
Changes in v2:
- MoveDRIVER_TI_CPSWoutside of the NETDEVICES guard
- Don't markDRIVER_TI_CPSWdefault ifARCH_OMAP2PLUSto fix mistranslations by moveconfig
[..]
Quoted 20 lines
configs/am335x_pdu001_defconfig +1
-1@@ -9,13 +9,13 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DEFAULT_DEVICE_TREE="am335x-pdu001" CONFIG_LOCALVERSION="-EETS-1.0.0" CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTDELAY=1 # CONFIG_USE_BOOTCOMMAND is not set -CONFIG_SPL=y # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_YMODEM_SUPPORT=y
configs/am335x_pdu001_defconfig CONFIG_DM_GPIO=y · line 42
Quoted 4 lines
configs/am335x_pdu001_defconfig +1
-0@@ -39,6 +39,7 @@ CONFIG_DM_GPIO=y CONFIG_DM_I2C=y CONFIG_MMC_OMAP_HS=y CONFIG_MMC_SDHCI=y +CONFIG_DRIVER_TI_CPSW=y
Applying this patch series generates the following warning while creating the default configuration for board PDU001:
warning: (BOARD_SPECIFIC_OPTIONS && BOARD_SPECIFIC_OPTIONS && BOARD_SPECIFIC_OPTIONS && BOARD_SPECIFIC_OPTIONS && DRIVER_TI_CPSW && AG7XXX && ALTERA_TSE && BCM_SF2_ETH && DWC_ETH_QOS && ETH_DESIGNWARE && MVNETA && MVPP2 && MACB && PCH_GBE && SUN4I_EMAC && SUN8I_EMAC && SH_ETHER && XILINX_AXIEMAC && XILINX_EMACLITE && ZYNQ_GEM && PIC32_ETH && RENESAS_RAVB) selects PHYLIB which has unmet direct dependencies (NET)
This is due to the patch enabling CONFIG_DRIVER_TI_CPSW while leaving CONFIG_NET disabled.
This board does not require/have network support for U-Boot so there is no need or benefit activating CONFIG_DRIVER_TI_CPSW here. Leaving the file configs/am355x_pdu001_defconfig without any modifications will make your patch work properly and result in a clean, warning and error free, build for the PDU001 board.
configs/am335x_pdu001_defconfig CONFIG_DM_GPIO=y · line 45
Quoted 3 lines
configs/am335x_pdu001_defconfig +0
-0CONFIG_PINCTRL=y CONFIG_PINCTRL_SINGLE=y CONFIG_DM_PMIC=y
regards, Felix
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Quoted 52 lines · Felix Brack
Hi Alex,
Quoted 11 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigSigned-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>---
Changes in v2:
- MoveDRIVER_TI_CPSWoutside of the NETDEVICES guard
- Don't markDRIVER_TI_CPSWdefault ifARCH_OMAP2PLUSto fix mistranslations by moveconfig[..]
Quoted 20 lines
configs/am335x_pdu001_defconfig +1
-1@@ -9,13 +9,13 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DEFAULT_DEVICE_TREE="am335x-pdu001" CONFIG_LOCALVERSION="-EETS-1.0.0" CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTDELAY=1 # CONFIG_USE_BOOTCOMMAND is not set -CONFIG_SPL=y # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_YMODEM_SUPPORT=yconfigs/am335x_pdu001_defconfig CONFIG_DM_GPIO=y · line 42
Quoted 4 lines
configs/am335x_pdu001_defconfig +1
-0@@ -39,6 +39,7 @@ CONFIG_DM_GPIO=y CONFIG_DM_I2C=y CONFIG_MMC_OMAP_HS=y CONFIG_MMC_SDHCI=y +CONFIG_DRIVER_TI_CPSW=yApplying this patch series generates the following warning while creating the default configuration for board PDU001:
warning: (
BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&DRIVER_TI_CPSW&& AG7XXX &&ALTERA_TSE&&BCM_SF2_ETH&&DWC_ETH_QOS&Ð_DESIGNWARE&& MVNETA && MVPP2 && MACB &&PCH_GBE&&SUN4I_EMAC&&SUN8I_EMAC&&SH_ETHER&&XILINX_AXIEMAC&&XILINX_EMACLITE&&ZYNQ_GEM&&PIC32_ETH&&RENESAS_RAVB) selects PHYLIB which has unmet direct dependencies (NET)
Quoted 12 lines
This is due to the patch enabling
CONFIG_DRIVER_TI_CPSWwhile leavingCONFIG_NETdisabled.
This board does not require/have network support for U-Boot so there is no need or benefit activatingCONFIG_DRIVER_TI_CPSWhere. Leaving the file configs/am355x_pdu001_defconfig without any modifications will make your patch work properly and result in a clean, warning and error free, build for the PDU001 board.Quoted 3 lines
configs/am335x_pdu001_defconfig +0
-0CONFIG_PINCTRL=y CONFIG_PINCTRL_SINGLE=y CONFIG_DM_PMIC=y
Oh bother, thanks for trying it. I think in fixing the opposite problem from v1 I've missed a depends on NET. Is your board covered by the Travis tests as I did push v2 and got a green build?
Unfortunately my laptop decided to die overnight and I'm away from the office for a couple of weeks so I'll have to pick it up when I'm back.
Alex
Signature · 1 line
Alex Kiernan
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Quoted 61 lines · Alex Kiernan
Quoted 60 lines · Felix Brack
Hi Alex,
Quoted 11 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigSigned-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>---
Changes in v2:
- MoveDRIVER_TI_CPSWoutside of the NETDEVICES guard
- Don't markDRIVER_TI_CPSWdefault ifARCH_OMAP2PLUSto fix mistranslations by moveconfig[..]
Quoted 20 lines
configs/am335x_pdu001_defconfig +1
-1@@ -9,13 +9,13 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DEFAULT_DEVICE_TREE="am335x-pdu001" CONFIG_LOCALVERSION="-EETS-1.0.0" CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTDELAY=1 # CONFIG_USE_BOOTCOMMAND is not set -CONFIG_SPL=y # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_YMODEM_SUPPORT=yconfigs/am335x_pdu001_defconfig CONFIG_DM_GPIO=y · line 42
Quoted 4 lines
configs/am335x_pdu001_defconfig +1
-0@@ -39,6 +39,7 @@ CONFIG_DM_GPIO=y CONFIG_DM_I2C=y CONFIG_MMC_OMAP_HS=y CONFIG_MMC_SDHCI=y +CONFIG_DRIVER_TI_CPSW=yApplying this patch series generates the following warning while creating the default configuration for board PDU001:
warning: (
BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&DRIVER_TI_CPSW&& AG7XXX &&ALTERA_TSE&&BCM_SF2_ETH&&DWC_ETH_QOS&Ð_DESIGNWARE&& MVNETA && MVPP2 && MACB &&PCH_GBE&&SUN4I_EMAC&&SUN8I_EMAC&&SH_ETHER&&XILINX_AXIEMAC&&XILINX_EMACLITE&&ZYNQ_GEM&&PIC32_ETH&&RENESAS_RAVB) selects PHYLIB which has unmet direct dependencies (NET)This is due to the patch enabling
CONFIG_DRIVER_TI_CPSWwhile leavingCONFIG_NETdisabled.
This board does not require/have network support for U-Boot so there is no need or benefit activatingCONFIG_DRIVER_TI_CPSWhere. Leaving the file configs/am355x_pdu001_defconfig without any modifications will make your patch work properly and result in a clean, warning and error free, build for the PDU001 board.
Quoted 9 lines
Quoted 4 lines
configs/am335x_pdu001_defconfig CONFIG_DM_GPIO=y · line 45
Quoted 3 lines
configs/am335x_pdu001_defconfig +0
-0CONFIG_PINCTRL=y CONFIG_PINCTRL_SINGLE=y CONFIG_DM_PMIC=yOh bother, thanks for trying it. I think in fixing the opposite problem from v1 I've missed a depends on NET. Is your board covered by the Travis tests as I did push v2 and got a green build?
From what I can see it is not, but I'm not sure. Using buildman with am335x would include it. I have verified that.
Quoted 5 lines
Unfortunately my laptop decided to die overnight and I'm away from the office for a couple of weeks so I'll have to pick it up when I'm back.
Alex
regards, Felix
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Quoted 75 lines · Felix Brack
Quoted 61 lines · Alex Kiernan
Quoted 60 lines · Felix Brack
Hi Alex,
Quoted 11 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigSigned-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>---
Changes in v2:
- MoveDRIVER_TI_CPSWoutside of the NETDEVICES guard
- Don't markDRIVER_TI_CPSWdefault ifARCH_OMAP2PLUSto fix mistranslations by moveconfig[..]
Quoted 20 lines
configs/am335x_pdu001_defconfig +1
-1@@ -9,13 +9,13 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_SPL=y CONFIG_SPL_FAT_SUPPORT=y CONFIG_DEFAULT_DEVICE_TREE="am335x-pdu001" CONFIG_LOCALVERSION="-EETS-1.0.0" CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTDELAY=1 # CONFIG_USE_BOOTCOMMAND is not set -CONFIG_SPL=y # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_YMODEM_SUPPORT=yconfigs/am335x_pdu001_defconfig CONFIG_DM_GPIO=y · line 42
Quoted 4 lines
configs/am335x_pdu001_defconfig +1
-0@@ -39,6 +39,7 @@ CONFIG_DM_GPIO=y CONFIG_DM_I2C=y CONFIG_MMC_OMAP_HS=y CONFIG_MMC_SDHCI=y +CONFIG_DRIVER_TI_CPSW=yApplying this patch series generates the following warning while creating the default configuration for board PDU001:
warning: (
BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&DRIVER_TI_CPSW&& AG7XXX &&ALTERA_TSE&&BCM_SF2_ETH&&DWC_ETH_QOS&Ð_DESIGNWARE&& MVNETA && MVPP2 && MACB &&PCH_GBE&&SUN4I_EMAC&&SUN8I_EMAC&&SH_ETHER&&XILINX_AXIEMAC&&XILINX_EMACLITE&&ZYNQ_GEM&&PIC32_ETH&&RENESAS_RAVB) selects PHYLIB which has unmet direct dependencies (NET)This is due to the patch enabling
CONFIG_DRIVER_TI_CPSWwhile leavingCONFIG_NETdisabled.
This board does not require/have network support for U-Boot so there is no need or benefit activatingCONFIG_DRIVER_TI_CPSWhere. Leaving the file configs/am355x_pdu001_defconfig without any modifications will make your patch work properly and result in a clean, warning and error free, build for the PDU001 board.Quoted 9 lines
Quoted 4 lines
configs/am335x_pdu001_defconfig CONFIG_DM_GPIO=y · line 45
Quoted 3 lines
configs/am335x_pdu001_defconfig +0
-0CONFIG_PINCTRL=y CONFIG_PINCTRL_SINGLE=y CONFIG_DM_PMIC=yOh bother, thanks for trying it. I think in fixing the opposite problem from v1 I've missed a depends on NET. Is your board covered by the Travis tests as I did push v2 and got a green build?
From what I can see it is not, but I'm not sure. Using buildman with am335x would include it. I have verified that.
Quoted 7 lines
Quoted 5 lines
Unfortunately my laptop decided to die overnight and I'm away from the office for a couple of weeks so I'll have to pick it up when I'm back.
Alex
regards, Felix
It is included, just found it, but looks like it doesn't fail because of that issue:
https://travis-ci.org/akiernan/u-boot/jobs/360830565#L962
I clearly need to go and understand the Travis build a whole lot better.
Signature · 1 line
Alex Kiernan
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
In reply to Alex KiernanQuoted 4 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigSigned-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180409/ecbc47c5/attachment.sig>
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Hi Tom,
Quoted 9 lines · Tom Rini
Quoted 4 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigSigned-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>Applied to u-boot/master, thanks!
Why did you apply this patch? It introduces a build warning?
Felix
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Quoted 5 lines · Felix Brack
Hi Tom,
Quoted 2 lines · Tom Rini
On Sun, Apr 01, 2018 at 09:22:34AM +0000, Alex Kiernan wrote:
Quoted 9 lines
Quoted 7 lines
Quoted 4 lines
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigSigned-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>Applied to u-boot/master, thanks!
Why did you apply this patch? It introduces a build warning?
Sorry, we probably want to revert this one, or try adding "depends on NET" to DRIVER_TI_CPSW in drivers/net/Kconfig; I'm stuck without a laptop until the end of the week so I've not been able to get back to fix this :(
Signature · 1 line
Alex Kiernan
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Quoted 13 lines · Alex Kiernan
Quoted 12 lines · Felix Brack
Hi Tom,
Quoted 9 lines · Tom Rini
Quoted 4 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigSigned-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>Applied to u-boot/master, thanks!
Quoted 8 lines
Quoted 2 lines
Why did you apply this patch? It introduces a build warning?
Sorry, we probably want to revert this one, or try adding "depends on NET" to
DRIVER_TI_CPSWindrivers/net/Kconfig; I'm stuck without a laptop until the end of the week so I've not been able to get back to fix this :(
Please do _not_ add this dependency to "solve" the build problem I reported. This would just blow up the U-Boot code for the PDU001 board.
As already stated: it is best to remove CONFIG_DRIVER_TI_CPSW=y from configs/am335x_pdu001_defconfig leaving this file unchanged.
Felix
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Quoted 23 lines · Felix Brack
Quoted 13 lines · Alex Kiernan
Quoted 12 lines · Felix Brack
Hi Tom,
Quoted 9 lines · Tom Rini
Quoted 4 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigSigned-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>Applied to u-boot/master, thanks!
Quoted 8 lines
Quoted 2 lines
Why did you apply this patch? It introduces a build warning?
Sorry, we probably want to revert this one, or try adding "depends on NET" to
DRIVER_TI_CPSWindrivers/net/Kconfig; I'm stuck without a laptop until the end of the week so I've not been able to get back to fix this :(
Quoted 6 lines
Please do _not_ add this dependency to "solve" the build problem I reported. This would just blow up the U-Boot code for the PDU001 board.
As already stated: it is best to remove
CONFIG_DRIVER_TI_CPSW=yfrom configs/am335x_pdu001_defconfig leaving this file unchanged.
That only fixes that one board - agreed, it wants removing from that config, but there's doubtless others which don't have NET enabled. My thinking was add the depends and then redo the moveconfig which would then remove it from all other boards too.
Tom, probably best to revert this one and I'll get a correct patch done when I'm back (should be early next week).
Signature · 1 line
Alex Kiernan
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Quoted 27 lines · Alex Kiernan
Quoted 26 lines · Felix Brack
Quoted 13 lines · Alex Kiernan
Quoted 12 lines · Felix Brack
Hi Tom,
Quoted 9 lines · Tom Rini
Quoted 4 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigSigned-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>Applied to u-boot/master, thanks!
Quoted 8 lines
Quoted 2 lines
Why did you apply this patch? It introduces a build warning?
Sorry, we probably want to revert this one, or try adding "depends on NET" to
DRIVER_TI_CPSWindrivers/net/Kconfig; I'm stuck without a laptop until the end of the week so I've not been able to get back to fix this :(Please do _not_ add this dependency to "solve" the build problem I reported. This would just blow up the U-Boot code for the PDU001 board.
Quoted 9 lines
Quoted 3 lines
As already stated: it is best to remove
CONFIG_DRIVER_TI_CPSW=yfrom configs/am335x_pdu001_defconfig leaving this file unchanged.That only fixes that one board - agreed, it wants removing from that config, but there's doubtless others which don't have NET enabled. My thinking was add the depends and then redo the moveconfig which would then remove it from all other boards too.
Okay, I see. As I'm the maintainer of this board, that was my only focus. My focus was not on the patch as a whole, sorry.
Quoted 3 lines
Tom, probably best to revert this one and I'll get a correct patch done when I'm back (should be early next week).
Agreed. However, knowing that it will get fixed, I could also live with that warning for some weeks ;)
Felix
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
In reply to Felix BrackQuoted 5 lines · Felix Brack
Hi Tom,
Quoted 2 lines · Tom Rini
On Sun, Apr 01, 2018 at 09:22:34AM +0000, Alex Kiernan wrote:
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigSigned-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>Applied to u-boot/master, thanks!
Why did you apply this patch? It introduces a build warning?
Wait, where does it introduce a warning? Thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180410/d5d5ae90/attachment.sig>
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Quoted 8 lines · Tom Rini
Quoted 7 lines · Felix Brack
Hi Tom,
Quoted 4 lines · Tom Rini
Quoted 2 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfig
Quoted 9 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Signed-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>Applied to u-boot/master, thanks!
Why did you apply this patch? It introduces a build warning?
Wait, where does it introduce a warning? Thanks!
Please see my post from April 2nd on top of this thread in reply to "[PATCH v2 1/5] Migrate CONFIG_DRIVER_TI_CPSW to Kconfig". It is identical to the warning that shows up in the log provide by Alex's link: https://travis-ci.org/akiernan/u-boot/jobs/360830565#L962.
Felix
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Quoted 14 lines · Felix Brack
Quoted 13 lines · Tom Rini
Quoted 12 lines · Felix Brack
Hi Tom,
Quoted 8 lines · Tom Rini
Quoted 4 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigSigned-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>Applied to u-boot/master, thanks!
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Why did you apply this patch? It introduces a build warning?
Wait, where does it introduce a warning? Thanks!
Please see my post from April 2nd on top of this thread in reply to "[PATCH v2 1/5] Migrate
CONFIG_DRIVER_TI_CPSWtoKconfig". It is identical to the warning that shows up in the log provide by Alex's link: https://travis-ci.org/akiernan/u-boot/jobs/360830565#L962.
Ahhh. Doesn't fail travis and I had a local goof-up and missed it in my build logs. Sorry. Now, you have the CPSW driver enabled, but don't want NET? Or am I misunderstanding? Thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180410/9ed1f465/attachment.sig>
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Quoted 19 lines · Tom Rini
Quoted 18 lines · Felix Brack
Quoted 17 lines · Tom Rini
Quoted 5 lines · Felix Brack
Hi Tom,
Quoted 2 lines · Tom Rini
On Sun, Apr 01, 2018 at 09:22:34AM +0000, Alex Kiernan wrote:
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigSigned-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>Applied to u-boot/master, thanks!
Why did you apply this patch? It introduces a build warning?
Wait, where does it introduce a warning? Thanks!
Quoted 9 lines
Quoted 4 lines
Please see my post from April 2nd on top of this thread in reply to "[PATCH v2 1/5] Migrate
CONFIG_DRIVER_TI_CPSWtoKconfig". It is identical to the warning that shows up in the log provide by Alex's link: https://travis-ci.org/akiernan/u-boot/jobs/360830565#L962.Ahhh. Doesn't fail travis and I had a local goof-up and missed it in my build logs. Sorry. Now, you have the CPSW driver enabled, but don't want NET? Or am I misunderstanding? Thanks!
Exactly, the board doesn't need NET.
Felix
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Quoted 25 lines · Felix Brack
Quoted 24 lines · Tom Rini
Quoted 22 lines · Felix Brack
Quoted 8 lines · Tom Rini
Quoted 7 lines · Felix Brack
Hi Tom,
Quoted 4 lines · Tom Rini
Quoted 2 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigQuoted 9 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Signed-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>Applied to u-boot/master, thanks!
Why did you apply this patch? It introduces a build warning?
Wait, where does it introduce a warning? Thanks!
Please see my post from April 2nd on top of this thread in reply to "[PATCH v2 1/5] Migrate
CONFIG_DRIVER_TI_CPSWtoKconfig". It is identical to the warning that shows up in the log provide by Alex's link: https://travis-ci.org/akiernan/u-boot/jobs/360830565#L962.
Quoted 5 lines
Quoted 3 lines
Ahhh. Doesn't fail travis and I had a local goof-up and missed it in my build logs. Sorry. Now, you have the CPSW driver enabled, but don't want NET? Or am I misunderstanding? Thanks!
Exactly, the board doesn't need NET.
But then what are you using the CPSW driver for?
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180410/1a6eafe6/attachment.sig>
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Quoted 26 lines · Tom Rini
Quoted 25 lines · Felix Brack
Quoted 24 lines · Tom Rini
Quoted 22 lines · Felix Brack
Quoted 8 lines · Tom Rini
Quoted 7 lines · Felix Brack
Hi Tom,
Quoted 4 lines · Tom Rini
Quoted 2 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigQuoted 9 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Signed-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>Applied to u-boot/master, thanks!
Why did you apply this patch? It introduces a build warning?
Wait, where does it introduce a warning? Thanks!
Please see my post from April 2nd on top of this thread in reply to "[PATCH v2 1/5] Migrate
CONFIG_DRIVER_TI_CPSWtoKconfig". It is identical to the warning that shows up in the log provide by Alex's link: https://travis-ci.org/akiernan/u-boot/jobs/360830565#L962.
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Ahhh. Doesn't fail travis and I had a local goof-up and missed it in my build logs. Sorry. Now, you have the CPSW driver enabled, but don't want NET? Or am I misunderstanding? Thanks!
Exactly, the board doesn't need NET.
But then what are you using the CPSW driver for?
I don't really understand your question. This patch is from Alex, i.e. I am not the author of the patch. I never asked for CPSW driver support for the PDU001 board. Here is what I wrote April 2nd:
[quote on]
Applying this patch series generates the following warning while creating the default configuration for board PDU001:
warning: (BOARD_SPECIFIC_OPTIONS && BOARD_SPECIFIC_OPTIONS && BOARD_SPECIFIC_OPTIONS && BOARD_SPECIFIC_OPTIONS && DRIVER_TI_CPSW && AG7XXX && ALTERA_TSE && BCM_SF2_ETH && DWC_ETH_QOS && ETH_DESIGNWARE && MVNETA && MVPP2 && MACB && PCH_GBE && SUN4I_EMAC && SUN8I_EMAC && SH_ETHER && XILINX_AXIEMAC && XILINX_EMACLITE && ZYNQ_GEM && PIC32_ETH && RENESAS_RAVB) selects PHYLIB which has unmet direct dependencies (NET)
This is due to the patch enabling CONFIG_DRIVER_TI_CPSW while leaving CONFIG_NET disabled.
This board does not require/have network support for U-Boot so there is no need or benefit activating CONFIG_DRIVER_TI_CPSW here. Leaving the file configs/am355x_pdu001_defconfig without any modifications will make your patch work properly and result in a clean, warning and error free, build for the PDU001 board.
[quote off]
So the solution for the PDU001 board warning problem is _not_ to add NET but to remove CPSW. This leaves the file configs/am355x_pdu001_defconfig unchanged by this patch and that is what I suggested as solution. In other words: the PDU001 board (for now) does not provide any network support in U-Boot.
Felix
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Quoted 59 lines · Felix Brack
Quoted 26 lines · Tom Rini
Quoted 25 lines · Felix Brack
Quoted 24 lines · Tom Rini
Quoted 22 lines · Felix Brack
Quoted 8 lines · Tom Rini
Quoted 7 lines · Felix Brack
Hi Tom,
Quoted 4 lines · Tom Rini
Quoted 2 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigQuoted 9 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Signed-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>Applied to u-boot/master, thanks!
Why did you apply this patch? It introduces a build warning?
Wait, where does it introduce a warning? Thanks!
Please see my post from April 2nd on top of this thread in reply to "[PATCH v2 1/5] Migrate
CONFIG_DRIVER_TI_CPSWtoKconfig". It is identical to the warning that shows up in the log provide by Alex's link: https://travis-ci.org/akiernan/u-boot/jobs/360830565#L962.Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Ahhh. Doesn't fail travis and I had a local goof-up and missed it in my build logs. Sorry. Now, you have the CPSW driver enabled, but don't want NET? Or am I misunderstanding? Thanks!
Exactly, the board doesn't need NET.
But then what are you using the CPSW driver for?
I don't really understand your question. This patch is from Alex, i.e. I am not the author of the patch. I never asked for CPSW driver support for the PDU001 board. Here is what I wrote April 2nd:
[quote on]
Applying this patch series generates the following warning while creating the default configuration for board PDU001:warning: (
BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&DRIVER_TI_CPSW&& AG7XXX &&ALTERA_TSE&&BCM_SF2_ETH&&DWC_ETH_QOS&Ð_DESIGNWARE&& MVNETA && MVPP2 && MACB &&PCH_GBE&&SUN4I_EMAC&&SUN8I_EMAC&&SH_ETHER&&XILINX_AXIEMAC&&XILINX_EMACLITE&&ZYNQ_GEM&&PIC32_ETH&&RENESAS_RAVB) selects PHYLIB which has unmet direct dependencies (NET)This is due to the patch enabling
CONFIG_DRIVER_TI_CPSWwhile leavingCONFIG_NETdisabled.
This board does not require/have network support for U-Boot so there is no need or benefit activatingCONFIG_DRIVER_TI_CPSWhere. Leaving the file configs/am355x_pdu001_defconfig without any modifications will make your patch work properly and result in a clean, warning and error free, build for the PDU001 board.
[quote off]
Quoted 5 lines
So the solution for the PDU001 board warning problem is _not_ to add NET but to remove CPSW. This leaves the file configs/am355x_pdu001_defconfig unchanged by this patch and that is what I suggested as solution. In other words: the PDU001 board (for now) does not provide any network support in U-Boot.
Ah, OK. My fault, I'll fixup the config and re-run migration to be sure nothing else was wrong here. Thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180410/39abae24/attachment.sig>
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
In reply to Felix BrackQuoted 59 lines · Felix Brack
Quoted 26 lines · Tom Rini
Quoted 25 lines · Felix Brack
Quoted 24 lines · Tom Rini
Quoted 22 lines · Felix Brack
Quoted 8 lines · Tom Rini
Quoted 7 lines · Felix Brack
Hi Tom,
Quoted 4 lines · Tom Rini
Quoted 2 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigQuoted 9 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Signed-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>Applied to u-boot/master, thanks!
Why did you apply this patch? It introduces a build warning?
Wait, where does it introduce a warning? Thanks!
Please see my post from April 2nd on top of this thread in reply to "[PATCH v2 1/5] Migrate
CONFIG_DRIVER_TI_CPSWtoKconfig". It is identical to the warning that shows up in the log provide by Alex's link: https://travis-ci.org/akiernan/u-boot/jobs/360830565#L962.Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Ahhh. Doesn't fail travis and I had a local goof-up and missed it in my build logs. Sorry. Now, you have the CPSW driver enabled, but don't want NET? Or am I misunderstanding? Thanks!
Exactly, the board doesn't need NET.
But then what are you using the CPSW driver for?
I don't really understand your question. This patch is from Alex, i.e. I am not the author of the patch. I never asked for CPSW driver support for the PDU001 board. Here is what I wrote April 2nd:
[quote on]
Applying this patch series generates the following warning while creating the default configuration for board PDU001:warning: (
BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&DRIVER_TI_CPSW&& AG7XXX &&ALTERA_TSE&&BCM_SF2_ETH&&DWC_ETH_QOS&Ð_DESIGNWARE&& MVNETA && MVPP2 && MACB &&PCH_GBE&&SUN4I_EMAC&&SUN8I_EMAC&&SH_ETHER&&XILINX_AXIEMAC&&XILINX_EMACLITE&&ZYNQ_GEM&&PIC32_ETH&&RENESAS_RAVB) selects PHYLIB which has unmet direct dependencies (NET)This is due to the patch enabling
CONFIG_DRIVER_TI_CPSWwhile leavingCONFIG_NETdisabled.
This board does not require/have network support for U-Boot so there is no need or benefit activatingCONFIG_DRIVER_TI_CPSWhere. Leaving the file configs/am355x_pdu001_defconfig without any modifications will make your patch work properly and result in a clean, warning and error free, build for the PDU001 board.
[quote off]
Quoted 5 lines
So the solution for the PDU001 board warning problem is _not_ to add NET but to remove CPSW. This leaves the file configs/am355x_pdu001_defconfig unchanged by this patch and that is what I suggested as solution. In other words: the PDU001 board (for now) does not provide any network support in U-Boot.
So, ah-ha-ha! At heart, include/configs/pdu001.h grabs include/configs/ti_am335x_common.h which was always enabling the CPSW driver. So the migration picked that up. But since you're saying your platform does not want CPSW, we can just drop that now. Thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180410/1fcd5911/attachment.sig>
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Quoted 66 lines · Tom Rini
Quoted 59 lines · Felix Brack
Quoted 26 lines · Tom Rini
Quoted 25 lines · Felix Brack
Quoted 24 lines · Tom Rini
Quoted 22 lines · Felix Brack
Quoted 8 lines · Tom Rini
Quoted 7 lines · Felix Brack
Hi Tom,
Quoted 4 lines · Tom Rini
Quoted 2 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigQuoted 9 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Signed-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>Applied to u-boot/master, thanks!
Why did you apply this patch? It introduces a build warning?
Wait, where does it introduce a warning? Thanks!
Please see my post from April 2nd on top of this thread in reply to "[PATCH v2 1/5] Migrate
CONFIG_DRIVER_TI_CPSWtoKconfig". It is identical to the warning that shows up in the log provide by Alex's link: https://travis-ci.org/akiernan/u-boot/jobs/360830565#L962.Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Ahhh. Doesn't fail travis and I had a local goof-up and missed it in my build logs. Sorry. Now, you have the CPSW driver enabled, but don't want NET? Or am I misunderstanding? Thanks!
Exactly, the board doesn't need NET.
But then what are you using the CPSW driver for?
I don't really understand your question. This patch is from Alex, i.e. I am not the author of the patch. I never asked for CPSW driver support for the PDU001 board. Here is what I wrote April 2nd:
[quote on]
Applying this patch series generates the following warning while creating the default configuration for board PDU001:warning: (
BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&DRIVER_TI_CPSW&& AG7XXX &&ALTERA_TSE&&BCM_SF2_ETH&&DWC_ETH_QOS&Ð_DESIGNWARE&& MVNETA && MVPP2 && MACB &&PCH_GBE&&SUN4I_EMAC&&SUN8I_EMAC&&SH_ETHER&&XILINX_AXIEMAC&&XILINX_EMACLITE&&ZYNQ_GEM&&PIC32_ETH&&RENESAS_RAVB) selects PHYLIB which has unmet direct dependencies (NET)This is due to the patch enabling
CONFIG_DRIVER_TI_CPSWwhile leavingCONFIG_NETdisabled.
This board does not require/have network support for U-Boot so there is no need or benefit activatingCONFIG_DRIVER_TI_CPSWhere. Leaving the file configs/am355x_pdu001_defconfig without any modifications will make your patch work properly and result in a clean, warning and error free, build for the PDU001 board.
[quote off]Quoted 5 lines
So the solution for the PDU001 board warning problem is _not_ to add NET but to remove CPSW. This leaves the file configs/am355x_pdu001_defconfig unchanged by this patch and that is what I suggested as solution. In other words: the PDU001 board (for now) does not provide any network support in U-Boot.
Quoted 5 lines
So, ah-ha-ha! At heart,
include/configs/pdu001.hgrabsinclude/configs/ti_am335x_common.hwhich was always enabling the CPSW driver. So the migration picked that up. But since you're saying your platform does not want CPSW, we can just drop that now. Thanks!
Ah, so you're going to drop configs/am355x_pdu001_defconfig from the patch, correct?
Felix
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Quoted 67 lines · Felix Brack
Quoted 66 lines · Tom Rini
Quoted 64 lines · Felix Brack
Quoted 26 lines · Tom Rini
Quoted 25 lines · Felix Brack
Quoted 24 lines · Tom Rini
Quoted 22 lines · Felix Brack
Quoted 8 lines · Tom Rini
Quoted 7 lines · Felix Brack
Hi Tom,
Quoted 4 lines · Tom Rini
Quoted 2 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigQuoted 9 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Signed-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>Applied to u-boot/master, thanks!
Why did you apply this patch? It introduces a build warning?
Wait, where does it introduce a warning? Thanks!
Please see my post from April 2nd on top of this thread in reply to "[PATCH v2 1/5] Migrate
CONFIG_DRIVER_TI_CPSWtoKconfig". It is identical to the warning that shows up in the log provide by Alex's link: https://travis-ci.org/akiernan/u-boot/jobs/360830565#L962.Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Ahhh. Doesn't fail travis and I had a local goof-up and missed it in my build logs. Sorry. Now, you have the CPSW driver enabled, but don't want NET? Or am I misunderstanding? Thanks!
Exactly, the board doesn't need NET.
But then what are you using the CPSW driver for?
I don't really understand your question. This patch is from Alex, i.e. I am not the author of the patch. I never asked for CPSW driver support for the PDU001 board. Here is what I wrote April 2nd:
[quote on]
Applying this patch series generates the following warning while creating the default configuration for board PDU001:warning: (
BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&DRIVER_TI_CPSW&& AG7XXX &&ALTERA_TSE&&BCM_SF2_ETH&&DWC_ETH_QOS&Ð_DESIGNWARE&& MVNETA && MVPP2 && MACB &&PCH_GBE&&SUN4I_EMAC&&SUN8I_EMAC&&SH_ETHER&&XILINX_AXIEMAC&&XILINX_EMACLITE&&ZYNQ_GEM&&PIC32_ETH&&RENESAS_RAVB) selects PHYLIB which has unmet direct dependencies (NET)This is due to the patch enabling
CONFIG_DRIVER_TI_CPSWwhile leavingCONFIG_NETdisabled.
This board does not require/have network support for U-Boot so there is no need or benefit activatingCONFIG_DRIVER_TI_CPSWhere. Leaving the file configs/am355x_pdu001_defconfig without any modifications will make your patch work properly and result in a clean, warning and error free, build for the PDU001 board.
[quote off]So the solution for the PDU001 board warning problem is _not_ to add NET but to remove CPSW. This leaves the file configs/am355x_pdu001_defconfig unchanged by this patch and that is what I suggested as solution. In other words: the PDU001 board (for now) does not provide any network support in U-Boot.
Quoted 7 lines
Quoted 5 lines
So, ah-ha-ha! At heart,
include/configs/pdu001.hgrabsinclude/configs/ti_am335x_common.hwhich was always enabling the CPSW driver. So the migration picked that up. But since you're saying your platform does not want CPSW, we can just drop that now. Thanks!Ah, so you're going to drop configs/am355x_pdu001_defconfig from the patch, correct?
I'm dropping that hunk out, and a few other small clean-ups (am43xx_evm_rtconly is out of sync, and there's a few places with non-applicable CPSW comments blocks now).
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180410/aa60aae5/attachment.sig>
PATCH v2 1/5 Migrate CONFIG_DRIVER_TI_CPSW to Kconfig
Quoted 73 lines · Tom Rini
Quoted 72 lines · Felix Brack
Quoted 71 lines · Tom Rini
Quoted 59 lines · Felix Brack
Quoted 26 lines · Tom Rini
Quoted 25 lines · Felix Brack
Quoted 24 lines · Tom Rini
Quoted 22 lines · Felix Brack
Quoted 8 lines · Tom Rini
Quoted 7 lines · Felix Brack
Hi Tom,
Quoted 4 lines · Tom Rini
Quoted 2 lines · Alex Kiernan
This converts
CONFIG_DRIVER_TI_CPSWtoKconfigQuoted 9 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Signed-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>Applied to u-boot/master, thanks!
Why did you apply this patch? It introduces a build warning?
Wait, where does it introduce a warning? Thanks!
Please see my post from April 2nd on top of this thread in reply to "[PATCH v2 1/5] Migrate
CONFIG_DRIVER_TI_CPSWtoKconfig". It is identical to the warning that shows up in the log provide by Alex's link: https://travis-ci.org/akiernan/u-boot/jobs/360830565#L962.Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Ahhh. Doesn't fail travis and I had a local goof-up and missed it in my build logs. Sorry. Now, you have the CPSW driver enabled, but don't want NET? Or am I misunderstanding? Thanks!
Exactly, the board doesn't need NET.
But then what are you using the CPSW driver for?
I don't really understand your question. This patch is from Alex, i.e. I am not the author of the patch. I never asked for CPSW driver support for the PDU001 board. Here is what I wrote April 2nd:
[quote on]
Applying this patch series generates the following warning while creating the default configuration for board PDU001:warning: (
BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&BOARD_SPECIFIC_OPTIONS&&DRIVER_TI_CPSW&& AG7XXX &&ALTERA_TSE&&BCM_SF2_ETH&&DWC_ETH_QOS&Ð_DESIGNWARE&& MVNETA && MVPP2 && MACB &&PCH_GBE&&SUN4I_EMAC&&SUN8I_EMAC&&SH_ETHER&&XILINX_AXIEMAC&&XILINX_EMACLITE&&ZYNQ_GEM&&PIC32_ETH&&RENESAS_RAVB) selects PHYLIB which has unmet direct dependencies (NET)This is due to the patch enabling
CONFIG_DRIVER_TI_CPSWwhile leavingCONFIG_NETdisabled.
This board does not require/have network support for U-Boot so there is no need or benefit activatingCONFIG_DRIVER_TI_CPSWhere. Leaving the file configs/am355x_pdu001_defconfig without any modifications will make your patch work properly and result in a clean, warning and error free, build for the PDU001 board.
[quote off]Quoted 5 lines
So the solution for the PDU001 board warning problem is _not_ to add NET but to remove CPSW. This leaves the file configs/am355x_pdu001_defconfig unchanged by this patch and that is what I suggested as solution. In other words: the PDU001 board (for now) does not provide any network support in U-Boot.
So, ah-ha-ha! At heart,
include/configs/pdu001.hgrabsinclude/configs/ti_am335x_common.hwhich was always enabling the CPSW driver. So the migration picked that up. But since you're saying your platform does not want CPSW, we can just drop that now. Thanks!
Quoted 7 lines
Quoted 2 lines
Ah, so you're going to drop configs/am355x_pdu001_defconfig from the patch, correct?
I'm dropping that hunk out, and a few other small clean-ups (
am43xx_evm_rtconlyis out of sync, and there's a few places with non-applicable CPSW comments blocks now).
Okay, sounds good. Please CC me for the modified patch.
many thanks, Felix
PATCH v2 2/5 ti: am335x: Fix bootargs when building without NET
In reply to Alex KiernanIf DHCP/PXE commands are disabled then the compilation fails due to bootargs attempting to use them:
include/config_distro_bootcmd.h:319:2: error: expected ‘}’ before ‘BOOT_TARGET_DEVICES_references_PXE_without_CONFIG_CMD_DHCP_or_PXE’
Ensure that if the command aren't enabled, we don't try and use them.
---
Changes in v2: None
include/configs/am335x_evm.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-)
include/configs/am335x_evm.h +14 -2
@@ -74,14 +74,26 @@#define BOOTENV_DEV_NAME_NAND (devtypeu, devtypel, instance) \ #devtypel #instance " " +#if CONFIG_IS_ENABLED (CMD_PXE ) +# define BOOT_TARGET_PXE (func) func(PXE, pxe, na) +#else +# define BOOT_TARGET_PXE (func) +#endif + +#if CONFIG_IS_ENABLED (CMD_DHCP ) +# define BOOT_TARGET_DHCP (func) func(DHCP, dhcp, na) +#else +# define BOOT_TARGET_DHCP (func) +#endif +#define BOOT_TARGET_DEVICES (func) \ func(MMC, mmc, 0) \ func(LEGACY_MMC, legacy_mmc, 0) \ func(MMC, mmc, 1) \ func(LEGACY_MMC, legacy_mmc, 1) \ func(NAND, nand, 0) \ - func(PXE, pxe, na) \ - func(DHCP, dhcp, na) + BOOT_TARGET_PXE(func) \ + BOOT_TARGET_DHCP(func)#include <config_distro_bootcmd.h>
Signature · 1 line
2.7.4
PATCH v2 2/5 ti: am335x: Fix bootargs when building without NET
Quoted 9 lines · Alex Kiernan
If DHCP/PXE commands are disabled then the compilation fails due to bootargs attempting to use them:
include/config_distro_bootcmd.h:319:2: error: expected ‘}’ before ‘BOOT_TARGET_DEVICES_references_PXE_without_CONFIG_CMD_DHCP_or_PXE’Ensure that if the command aren't enabled, we don't try and use them.
Signed-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180409/2302661b/attachment.sig>
PATCH v2 3/5 usb: gadget: USB_ETHER requires network support
In reply to Alex KiernanIn order to compile the USB Ethernet gadget support we require that NET is enabled, add that dependency here.
---
Changes in v2: None
drivers/usb/gadget/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/usb/gadget/Kconfig +1 -0
@@ -158,6 +158,7 @@ endif # USB_GADGET_DOWNLOAD config USB_ETHER bool "USB Ethernet Gadget" + depends on NET default y if ARCH_SUNXI && USB_MUSB_GADGET help Creates an Ethernet network device through a USB peripheral
Signature · 1 line
2.7.4
PATCH v2 3/5 usb: gadget: USB_ETHER requires network support
Quoted 5 lines · Alex Kiernan
In order to compile the USB Ethernet gadget support we require that NET is enabled, add that dependency here.
Signed-off-by Alex Kiernan <[email protected]>Acked-by Joe Hershberger <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180409/fffd2627/attachment.sig>
PATCH v2 4/5 ti: am335x: Fix build when networking is disabled
In reply to Alex KiernanWhen compiling without CONFIG_CLOCK_SYNTHESIZER (which is implied by CONFIG_DRIVER_TI_CPSW for am335x_evm), exclude the network setup for AM335x-ICEv2 to avoid link time failures:
board/ti/am335x/board.c:683: undefined reference to `setup_clock_synthesizer'
---
Changes in v2: None
board/ti/am335x/board.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
board/ti/am335x/board.c +4 -4
@@ -563,8 +563,8 @@ void sdram_init(void) }#endif -#if !defined(CONFIG_SPL_BUILD ) || \ - (defined(CONFIG_SPL_ETH_SUPPORT ) && defined(CONFIG_SPL_BUILD )) +#if defined(CONFIG_CLOCK_SYNTHESIZER ) && (!defined(CONFIG_SPL_BUILD ) || \ + (defined(CONFIG_SPL_ETH_SUPPORT ) && defined(CONFIG_SPL_BUILD )))static void request_and_set_gpio (int gpio,char *name,int val) {int ret;
@@ -621,8 +621,8 @@ int board_init(void)gpmc_init ();#endif -#if !defined(CONFIG_SPL_BUILD ) || \ - (defined(CONFIG_SPL_ETH_SUPPORT ) && defined(CONFIG_SPL_BUILD )) +#if defined(CONFIG_CLOCK_SYNTHESIZER ) && (!defined(CONFIG_SPL_BUILD ) || \ + (defined(CONFIG_SPL_ETH_SUPPORT ) && defined(CONFIG_SPL_BUILD )))if (board_is_icev2 ()) {int rv;u32 reg;
Signature · 1 line
2.7.4
PATCH v2 4/5 ti: am335x: Fix build when networking is disabled
Quoted 7 lines · Alex Kiernan
When compiling without
CONFIG_CLOCK_SYNTHESIZER(which is implied byCONFIG_DRIVER_TI_CPSWforam335x_evm), exclude the network setup for AM335x-ICEv2 to avoid link time failures:
board/ti/am335x/board.c:683: undefined reference to `setup_clock_synthesizer'Signed-off-by Alex Kiernan <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180409/c829a9a5/attachment.sig>
PATCH v2 5/5 net: Move enetaddr env access code to env config instead of net config
In reply to Alex KiernanIn order that we can use eth_env_* even when CONFIG_NET isn't set, move these functions to environment code from net code.
This fixes failures such as:
board/ti/am335x/built-in.o: In function `board_late_init':
board/ti/am335x/board.c:752: undefined reference to eth_env_set_enetaddr' u-boot/board/ti/am335x/board.c:766: undefined reference to eth_env_set_enetaddr'
which caters for use cases such as:
commit f411b5cca48f ("board: am335x: Always set eth/eth1addr environment variable")
when Ethernet is required in Linux, but not U-Boot.
---
Changes in v2:
- Moved enetaddr env access declarations to include/environment.h
- Replace uchar with uint8_t in eth_env_* to avoid dependency on include/common.h
- include environment.h where needed to satisfy eth_env_* dependencies
arch/arm/cpu/arm926ejs/spear/spr_misc.c | 1 + arch/arm/mach-davinci/misc.c | 1 + arch/arm/mach-omap2/utils.c | 1 + arch/powerpc/cpu/mpc85xx/fdt.c | 1 + board/BuR/common/common.c | 1 + board/CZ.NIC/turris_omnia/turris_omnia.c | 1 + board/LaCie/net2big_v2/net2big_v2.c | 1 + board/LaCie/netspace_v2/netspace_v2.c | 1 + board/amlogic/khadas-vim/khadas-vim.c | 1 + board/amlogic/libretech-cc/libretech-cc.c | 1 + board/amlogic/odroid-c2/odroid-c2.c | 1 + board/amlogic/p212/p212.c | 1 + board/atmel/common/mac_eeprom.c | 1 + board/buffalo/lsxl/lsxl.c | 1 + board/compulab/cl-som-am57x/eth.c | 1 + board/compulab/cl-som-imx7/cl-som-imx7.c | 1 + board/compulab/cm_fx6/cm_fx6.c | 1 + board/compulab/cm_t335/cm_t335.c | 1 + board/compulab/cm_t35/cm_t35.c | 1 + board/compulab/cm_t3517/cm_t3517.c | 1 + board/compulab/cm_t54/cm_t54.c | 1 + board/davinci/da8xxevm/da850evm.c | 1 + board/dhelectronics/dh_imx6/dh_imx6.c | 1 + board/gateworks/gw_ventana/gw_ventana.c | 1 + board/ge/mx53ppd/mx53ppd.c | 1 + board/kosagi/novena/novena.c | 1 + board/logicpd/zoom1/zoom1.c | 1 + board/phytec/pcm051/board.c | 1 + board/phytec/phycore_rk3288/phycore-rk3288.c | 1 + board/raspberrypi/rpi/rpi.c | 1 + board/renesas/alt/alt.c | 1 + board/renesas/blanche/blanche.c | 1 + board/renesas/gose/gose.c | 1 + board/renesas/koelsch/koelsch.c | 1 + board/renesas/lager/lager.c | 1 + board/renesas/sh7752evb/sh7752evb.c | 1 + board/renesas/sh7753evb/sh7753evb.c | 1 + board/renesas/sh7757lcr/sh7757lcr.c | 1 + board/renesas/silk/silk.c | 1 + board/renesas/stout/stout.c | 1 + board/rockchip/tinker_rk3288/tinker-rk3288.c | 1 + board/samtec/vining_2000/vining_2000.c | 1 + board/samtec/vining_fpga/socfpga.c | 1 + board/siemens/common/factoryset.c | 1 + board/siemens/pxm2/board.c | 1 + board/silica/pengwyn/board.c | 1 + board/technologic/ts4800/ts4800.c | 1 + board/theobroma-systems/puma_rk3399/puma-rk3399.c | 1 + board/ti/am43xx/board.c | 1 + board/ti/ti814x/evm.c | 1 + board/ti/ti816x/evm.c | 1 + board/timll/devkit8000/devkit8000.c | 1 + board/toradex/common/tdx-common.c | 1 + cmd/elf.c | 1 + cmd/ethsw.c | 1 + cmd/nvedit.c | 30 ++++++++++++++++++++++ drivers/net/cpsw-common.c | 1 + drivers/net/fec_mxc.c | 1 + drivers/net/fsl_mcdmafec.c | 1 + drivers/net/mcffec.c | 1 + drivers/net/ne2000_base.c | 1 + drivers/net/sh_eth.c | 1 + drivers/usb/gadget/ether.c | 1 + include/environment.h | 4 +++ include/net.h | 3 --- net/eth_common.c | 31 +---------------------- 66 files changed, 97 insertions(+), 33 deletions(-)
arch/arm/cpu/arm926ejs/spear/spr_misc.c +1 -0
@@ -7,6 +7,7 @@#include <common.h> #include <command.h> +#include <environment.h> #include <i2c.h> #include <net.h> #include <linux/mtd/st_smi.h>
arch/arm/mach-davinci/misc.c +1 -0
@@ -10,6 +10,7 @@*/ #include <common.h> +#include <environment.h> #include <i2c.h> #include <net.h> #include <asm/arch/hardware.h>
arch/arm/mach-omap2/utils.c +1 -0
@@ -5,6 +5,7 @@* SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> +#include <environment.h> #include <asm/setup.h> #include <asm/arch/sys_proto.h> #include <asm/omap_common.h>
arch/powerpc/cpu/mpc85xx/fdt.c +1 -0
@@ -8,6 +8,7 @@*/ #include <common.h> +#include <environment.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <asm/processor.h>
board/BuR/common/common.c +1 -0
@@ -11,6 +11,7 @@*/ #include <version.h> #include <common.h> +#include <environment.h> #include <errno.h> #include <asm/arch/cpu.h> #include <asm/arch/hardware.h>
board/CZ.NIC/turris_omnia/turris_omnia.c +1 -0
@@ -9,6 +9,7 @@*/ #include <common.h> +#include <environment.h> #include <i2c.h> #include <miiphy.h> #include <netdev.h>
board/LaCie/net2big_v2/net2big_v2.c +1 -0
@@ -11,6 +11,7 @@#include <common.h> #include <command.h> +#include <environment.h> #include <i2c.h> #include <asm/mach-types.h> #include <asm/arch/cpu.h>
board/LaCie/netspace_v2/netspace_v2.c +1 -0
@@ -11,6 +11,7 @@#include <common.h> #include <command.h> +#include <environment.h> #include <asm/mach-types.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h>
board/amlogic/khadas-vim/khadas-vim.c +1 -0
@@ -7,6 +7,7 @@#include <common.h> #include <dm.h> +#include <environment.h> #include <asm/io.h> #include <asm/arch/gxbb.h> #include <asm/arch/mem.h>
board/amlogic/libretech-cc/libretech-cc.c +1 -0
@@ -7,6 +7,7 @@#include <common.h> #include <dm.h> +#include <environment.h> #include <asm/io.h> #include <asm/arch/gxbb.h> #include <asm/arch/sm.h>
board/amlogic/odroid-c2/odroid-c2.c +1 -0
@@ -6,6 +6,7 @@#include <common.h> #include <dm.h> +#include <environment.h> #include <asm/io.h> #include <asm/arch/gxbb.h> #include <asm/arch/sm.h>
board/amlogic/p212/p212.c +1 -0
@@ -7,6 +7,7 @@#include <common.h> #include <dm.h> +#include <environment.h> #include <asm/io.h> #include <asm/arch/gxbb.h> #include <asm/arch/sm.h>
board/atmel/common/mac_eeprom.c +1 -0
@@ -7,6 +7,7 @@#include <common.h> #include <dm.h> +#include <environment.h> #include <i2c_eeprom.h> #include <netdev.h>
board/buffalo/lsxl/lsxl.c +1 -0
@@ -9,6 +9,7 @@*/ #include <common.h> +#include <environment.h> #include <net.h> #include <malloc.h> #include <netdev.h>
board/compulab/cl-som-am57x/eth.c +1 -0
@@ -10,6 +10,7 @@#include <common.h> #include <cpsw.h> +#include <environment.h> #include <miiphy.h> #include <asm/gpio.h> #include <asm/arch/sys_proto.h>
board/compulab/cl-som-imx7/cl-som-imx7.c +1 -0
@@ -9,6 +9,7 @@*/ #include <common.h> +#include <environment.h> #include <mmc.h> #include <phy.h> #include <netdev.h>
board/compulab/cm_fx6/cm_fx6.c +1 -0
@@ -12,6 +12,7 @@#include <ahci.h> #include <dm.h> #include <dwc_ahsata.h> +#include <environment.h> #include <fsl_esdhc.h> #include <miiphy.h> #include <mtd_node.h>
board/compulab/cm_t335/cm_t335.c +1 -0
@@ -9,6 +9,7 @@*/ #include <common.h> +#include <environment.h> #include <errno.h> #include <miiphy.h> #include <cpsw.h>
board/compulab/cm_t35/cm_t35.c +1 -0
@@ -13,6 +13,7 @@*/ #include <common.h> +#include <environment.h> #include <status_led.h> #include <netdev.h> #include <net.h>
board/compulab/cm_t3517/cm_t3517.c +1 -0
@@ -7,6 +7,7 @@*/ #include <common.h> +#include <environment.h> #include <status_led.h> #include <net.h> #include <netdev.h>
board/compulab/cm_t54/cm_t54.c +1 -0
@@ -9,6 +9,7 @@*/ #include <common.h> +#include <environment.h> #include <fdt_support.h> #include <usb.h> #include <mmc.h>
board/davinci/da8xxevm/da850evm.c +1 -0
@@ -10,6 +10,7 @@*/ #include <common.h> +#include <environment.h> #include <i2c.h> #include <net.h> #include <netdev.h>
board/dhelectronics/dh_imx6/dh_imx6.c +1 -0
@@ -19,6 +19,7 @@#include <asm/mach-imx/iomux-v3.h> #include <asm/mach-imx/mxc_i2c.h> #include <asm/mach-imx/sata.h> +#include <environment.h> #include <errno.h> #include <fsl_esdhc.h> #include <fuse.h>
board/gateworks/gw_ventana/gw_ventana.c +1 -0
@@ -22,6 +22,7 @@#include <asm/setup.h> #include <dm.h> #include <dm/platform_data/serial_mxc.h> +#include <environment.h> #include <hwconfig.h> #include <i2c.h> #include <fdt_support.h>
board/ge/mx53ppd/mx53ppd.c +1 -0
@@ -20,6 +20,7 @@#include <linux/errno.h> #include <asm/mach-imx/mxc_i2c.h> #include <asm/mach-imx/mx5_video.h> +#include <environment.h> #include <netdev.h> #include <i2c.h> #include <mmc.h>
board/kosagi/novena/novena.c +1 -0
@@ -21,6 +21,7 @@#include <asm/mach-imx/mxc_i2c.h> #include <asm/mach-imx/sata.h> #include <asm/mach-imx/video.h> +#include <environment.h> #include <fsl_esdhc.h> #include <i2c.h> #include <input.h>
board/logicpd/zoom1/zoom1.c +1 -0
@@ -16,6 +16,7 @@*/ #include <common.h> #include <dm.h> +#include <environment.h> #include <ns16550.h> #include <netdev.h> #include <twl4030.h>
board/phytec/pcm051/board.c +1 -0
@@ -10,6 +10,7 @@*/ #include <common.h> +#include <environment.h> #include <errno.h> #include <spl.h> #include <asm/arch/cpu.h>
board/phytec/phycore_rk3288/phycore-rk3288.c +1 -0
@@ -8,6 +8,7 @@#include <asm/io.h> #include <common.h> #include <dm.h> +#include <environment.h> #include <i2c.h> #include <i2c_eeprom.h> #include <netdev.h>
board/raspberrypi/rpi/rpi.c +1 -0
@@ -8,6 +8,7 @@#include <inttypes.h> #include <config.h> #include <dm.h> +#include <environment.h> #include <efi_loader.h> #include <fdt_support.h> #include <fdt_simplefb.h>
board/renesas/alt/alt.c +1 -0
@@ -10,6 +10,7 @@#include <malloc.h> #include <dm.h> #include <dm/platform_data/serial_sh.h> +#include <environment.h> #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h>
board/renesas/blanche/blanche.c +1 -0
@@ -12,6 +12,7 @@#include <netdev.h> #include <dm.h> #include <dm/platform_data/serial_sh.h> +#include <environment.h> #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h>
board/renesas/gose/gose.c +1 -0
@@ -10,6 +10,7 @@#include <malloc.h> #include <dm.h> #include <dm/platform_data/serial_sh.h> +#include <environment.h> #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h>
board/renesas/koelsch/koelsch.c +1 -0
@@ -11,6 +11,7 @@#include <malloc.h> #include <dm.h> #include <dm/platform_data/serial_sh.h> +#include <environment.h> #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h>
board/renesas/lager/lager.c +1 -0
@@ -9,6 +9,7 @@*/ #include <common.h> +#include <environment.h> #include <malloc.h> #include <netdev.h> #include <dm.h>
board/renesas/sh7752evb/sh7752evb.c +1 -0
@@ -5,6 +5,7 @@*/ #include <common.h> +#include <environment.h> #include <malloc.h> #include <asm/processor.h> #include <asm/io.h>
board/renesas/sh7753evb/sh7753evb.c +1 -0
@@ -5,6 +5,7 @@*/ #include <common.h> +#include <environment.h> #include <malloc.h> #include <asm/processor.h> #include <asm/io.h>
board/renesas/sh7757lcr/sh7757lcr.c +1 -0
@@ -5,6 +5,7 @@*/ #include <common.h> +#include <environment.h> #include <malloc.h> #include <asm/processor.h> #include <asm/io.h>
board/renesas/silk/silk.c +1 -0
@@ -11,6 +11,7 @@#include <malloc.h> #include <dm.h> #include <dm/platform_data/serial_sh.h> +#include <environment.h> #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h>
board/renesas/stout/stout.c +1 -0
@@ -14,6 +14,7 @@#include <netdev.h> #include <dm.h> #include <dm/platform_data/serial_sh.h> +#include <environment.h> #include <asm/processor.h> #include <asm/mach-types.h> #include <asm/io.h>
board/rockchip/tinker_rk3288/tinker-rk3288.c +1 -0
@@ -6,6 +6,7 @@#include <common.h> #include <dm.h> +#include <environment.h> #include <i2c_eeprom.h> #include <netdev.h>
board/samtec/vining_2000/vining_2000.c +1 -0
@@ -18,6 +18,7 @@#include <asm/mach-imx/mxc_i2c.h> #include <linux/sizes.h> #include <common.h> +#include <environment.h> #include <fsl_esdhc.h> #include <mmc.h> #include <i2c.h>
board/samtec/vining_fpga/socfpga.c +1 -0
@@ -5,6 +5,7 @@*/ #include <common.h> +#include <environment.h> #include <asm/arch/reset_manager.h> #include <asm/io.h> #include <asm/gpio.h>
board/siemens/common/factoryset.c +1 -0
@@ -9,6 +9,7 @@#if !defined(CONFIG_SPL_BUILD )#include <common.h> +#include <environment.h> #include <i2c.h> #include <asm/io.h> #include <asm/arch/cpu.h>
board/siemens/pxm2/board.c +1 -0
@@ -14,6 +14,7 @@*/ #include <common.h> +#include <environment.h> #include <errno.h> #include <spl.h> #include <asm/arch/cpu.h>
board/silica/pengwyn/board.c +1 -0
@@ -7,6 +7,7 @@*/ #include <common.h> +#include <environment.h> #include <asm/arch/cpu.h> #include <asm/arch/hardware.h> #include <asm/arch/ddr_defs.h>
board/technologic/ts4800/ts4800.c +1 -0
@@ -17,6 +17,7 @@#include <asm/arch/crm_regs.h> #include <asm/arch/clock.h> #include <asm/mach-imx/mx5_video.h> +#include <environment.h> #include <mmc.h> #include <input.h> #include <fsl_esdhc.h>
board/theobroma-systems/puma_rk3399/puma-rk3399.c +1 -0
@@ -6,6 +6,7 @@#include <common.h> #include <dm.h> +#include <environment.h> #include <misc.h> #include <spl.h> #include <syscon.h>
board/ti/am43xx/board.c +1 -0
@@ -9,6 +9,7 @@*/ #include <common.h> +#include <environment.h> #include <i2c.h> #include <linux/errno.h> #include <spl.h>
board/ti/ti814x/evm.c +1 -0
@@ -10,6 +10,7 @@#include <common.h> #include <cpsw.h> +#include <environment.h> #include <errno.h> #include <spl.h> #include <asm/arch/cpu.h>
board/ti/ti816x/evm.c +1 -0
@@ -8,6 +8,7 @@*/ #include <common.h> +#include <environment.h> #include <spl.h> #include <netdev.h> #include <asm/cache.h>
board/timll/devkit8000/devkit8000.c +1 -0
@@ -18,6 +18,7 @@*/ #include <common.h> #include <dm.h> +#include <environment.h> #include <ns16550.h> #include <twl4030.h> #include <asm/io.h>
board/toradex/common/tdx-common.c +1 -0
@@ -5,6 +5,7 @@*/ #include <common.h> +#include <environment.h> #include <g_dnl.h> #include <linux/libfdt.h>
cmd/elf.c +1 -0
@@ -16,6 +16,7 @@#include <common.h> #include <command.h> #include <elf.h> +#include <environment.h> #include <net.h> #include <vxworks.h> #ifdef CONFIG_X86
cmd/ethsw.c +1 -0
@@ -8,6 +8,7 @@#include <common.h> #include <command.h> +#include <environment.h> #include <errno.h> #include <env_flags.h> #include <ethsw.h>
cmd/nvedit.c +30 -0
@@ -341,6 +341,36 @@ ulong env_get_hex(const char *varname, ulong default_val)return value; } +void eth_parse_enetaddr (const char *addr,uint8_t *enetaddr) +{ +char *end; +int i; + +for (i =0 ; i <6 ; ++i) { + enetaddr[i] = addr ?simple_strtoul (addr, &end,16 ) :0 ; +if (addr) + addr = (*end) ? end +1 : end; + } +} + +int eth_env_get_enetaddr (const char *name,uint8_t *enetaddr) +{ +eth_parse_enetaddr (env_get (name), enetaddr); +return is_valid_ethaddr (enetaddr); +} + +int eth_env_set_enetaddr (const char *name,const uint8_t *enetaddr) +{ +char buf[ARP_HLEN_ASCII +1 ]; + +if (eth_env_get_enetaddr (name, (uint8_t *)buf)) +return -EEXIST ; + +sprintf (buf,"%pM" , enetaddr); + +return env_set (name, buf); +} +#ifndef CONFIG_SPL_BUILD static int do_env_set (cmd_tbl_t *cmdtp,int flag,int argc,char *const argv[]) {
drivers/net/cpsw-common.c +1 -0
@@ -8,6 +8,7 @@#include <common.h> #include <dm.h> +#include <environment.h> #include <fdt_support.h> #include <asm/io.h> #include <cpsw.h>
drivers/net/fec_mxc.c +1 -0
@@ -10,6 +10,7 @@#include <common.h> #include <dm.h> +#include <environment.h> #include <malloc.h> #include <memalign.h> #include <miiphy.h>
drivers/net/fsl_mcdmafec.c +1 -0
@@ -9,6 +9,7 @@*/ #include <common.h> +#include <environment.h> #include <malloc.h> #include <command.h> #include <config.h>
drivers/net/mcffec.c +1 -0
@@ -9,6 +9,7 @@*/ #include <common.h> +#include <environment.h> #include <malloc.h> #include <command.h>
drivers/net/ne2000_base.c +1 -0
@@ -74,6 +74,7 @@ Add SNMP#include <common.h> #include <command.h> +#include <environment.h> #include <net.h> #include <malloc.h> #include <linux/compiler.h>
drivers/net/sh_eth.c +1 -0
@@ -11,6 +11,7 @@#include <config.h> #include <common.h> +#include <environment.h> #include <malloc.h> #include <net.h> #include <netdev.h>
drivers/usb/gadget/ether.c +1 -0
@@ -10,6 +10,7 @@#include <common.h> #include <console.h> +#include <environment.h> #include <linux/errno.h> #include <linux/netdevice.h> #include <linux/usb/ch9.h>
include/environment.h +4 -0
@@ -314,6 +314,10 @@ int env_load(void);*/ int env_save (void ); +void eth_parse_enetaddr (const char *addr,uint8_t *enetaddr); +int eth_env_get_enetaddr (const char *name,uint8_t *enetaddr); +int eth_env_set_enetaddr (const char *name,const uint8_t *enetaddr); +#endif /* DO_DEPS_ONLY */ #endif /* _ENVIRONMENT_H_ */
include/net.h +0 -3
@@ -238,9 +238,6 @@ void eth_try_another(int first_restart); /* Change the device */void eth_set_current (void );/* set nterface to ethcur var */ int eth_get_dev_index (void );/* get the device index */ -void eth_parse_enetaddr (const char *addr,uchar *enetaddr); -int eth_env_get_enetaddr (const char *name,uchar *enetaddr); -int eth_env_set_enetaddr (const char *name,const uchar *enetaddr);/** * eth_env_set_enetaddr_by_index() - set the MAC address environment variable
net/eth_common.c +1 -30
@@ -8,40 +8,11 @@#include <common.h> #include <dm.h> +#include <environment.h> #include <miiphy.h> #include <net.h> #include "eth_internal.h" -void eth_parse_enetaddr (const char *addr,uchar *enetaddr) -{ -char *end; -int i; - -for (i =0 ; i <6 ; ++i) { - enetaddr[i] = addr ?simple_strtoul (addr, &end,16 ) :0 ; -if (addr) - addr = (*end) ? end +1 : end; - } -} - -int eth_env_get_enetaddr (const char *name,uchar *enetaddr) -{ -eth_parse_enetaddr (env_get (name), enetaddr); -return is_valid_ethaddr (enetaddr); -} - -int eth_env_set_enetaddr (const char *name,const uchar *enetaddr) -{ -char buf[ARP_HLEN_ASCII +1 ]; - -if (eth_env_get_enetaddr (name, (uchar *)buf)) -return -EEXIST ; - -sprintf (buf,"%pM" , enetaddr); - -return env_set (name, buf); -} -int eth_env_get_enetaddr_by_index (const char *base_name,int index,uchar *enetaddr) {
Signature · 1 line
2.7.4
PATCH v2 5/5 net: Move enetaddr env access code to env config instead of net config
Quoted 9 lines · Alex Kiernan
In order that we can use eth_env_* even when
CONFIG_NETisn't set, move these functions to environment code from net code.This fixes failures such as:
board/ti/am335x/built-in.o: In function `board_late_init':
board/ti/am335x/board.c:752: undefined reference toeth_env_set_enetaddr' u-boot/board/ti/am335x/board.c:766: undefined reference toeth_env_set_enetaddr'
Quoted 8 lines
which caters for use cases such as:
commit
f411b5cca48f("board: am335x: Always set eth/eth1addr environment variable")when Ethernet is required in Linux, but not U-Boot.
Signed-off-by Alex Kiernan <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180409/5cef19f1/attachment.sig>