mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-06 21:03:21 +09:00
![James Byrne](/assets/img/avatar_default.png)
Commit d397f7c45b
("net: phy: micrel: Separate KSZ9000 drivers from
KSZ8000 drivers") separated the KSZ8xxx and KSZ90x1 drivers and warns
that you shouldn't select both of them due to a device ID clash between
the KSZ9021 and the KS8721, asserting that "it is highly unlikely for a
system to contain both a KSZ8000 and a KSZ9000 PHY". Unfortunately
boards like the SAMA5D3xEK do contain both types of PHY, but fortunately
the Linux Micrel PHY driver provides a solution by using different PHY
ID and mask values to distinguish these chips.
This commit contains the following changes:
- The PHY ID and mask values for the KSZ9021 and the KS8721 now match
those used by the Linux driver.
- The warnings about not enabling both drivers have been removed.
- The description for PHY_MICREL_KSZ8XXX has been corrected (these are
10/100 PHYs, not GbE PHYs).
- PHY_MICREL_KSZ9021 and PHY_MICREL_KSZ9031 no longer select PHY_GIGE
since this is selected by PHY_MICREL_KSZ90X1.
- All of the relevant defconfig files have been updated now that
PHY_MICREL_KSZ8XXX does not default to 'Y'.
Signed-off-by: James Byrne <james.byrne@origamienergy.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
86 lines
2.1 KiB
Plaintext
86 lines
2.1 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_SYS_THUMB_BUILD=y
|
|
CONFIG_ARCH_VF610=y
|
|
CONFIG_SYS_TEXT_BASE=0x3f401000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x800
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_TARGET_BK4R1=y
|
|
CONFIG_FIT=y
|
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/phytec/pcm052/imximage.cfg"
|
|
CONFIG_BOOTDELAY=3
|
|
CONFIG_BOARD_EARLY_INIT_F=y
|
|
CONFIG_HUSH_PARSER=y
|
|
# CONFIG_CMD_ELF is not set
|
|
CONFIG_CMD_MEMTEST=y
|
|
CONFIG_CMD_DM=y
|
|
CONFIG_CMD_FUSE=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_NAND_TRIMFFS=y
|
|
CONFIG_CMD_SF=y
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_MII=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_BOOTCOUNT=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_MTDIDS_DEFAULT="nand0=vf610_nfc,nor0=NOR"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=vf610_nfc:2048k(bootloader),128k(env1),128k(env2),10240k(initrd),40960k(dtbkernel),-(system);NOR:-(nor)"
|
|
CONFIG_CMD_UBI=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="vf610-bk4r1"
|
|
CONFIG_ENV_IS_IN_NAND=y
|
|
CONFIG_NETCONSOLE=y
|
|
CONFIG_DM=y
|
|
CONFIG_BOOTCOUNT_LIMIT=y
|
|
CONFIG_BOOTCOUNT_BOOTLIMIT=3
|
|
CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y
|
|
CONFIG_SYS_BOOTCOUNT_ADDR=0x4006e02c
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_VYBRID_GPIO=y
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
|
CONFIG_I2C_DEFAULT_BUS_NUMBER=0x2
|
|
CONFIG_SYS_I2C_MXC=y
|
|
CONFIG_SYS_I2C_MXC_I2C1=y
|
|
CONFIG_SYS_I2C_MXC_I2C2=y
|
|
CONFIG_SYS_I2C_MXC_I2C3=y
|
|
CONFIG_SYS_I2C_MXC_I2C4=y
|
|
CONFIG_LED=y
|
|
CONFIG_LED_GPIO=y
|
|
CONFIG_MISC=y
|
|
CONFIG_I2C_EEPROM=y
|
|
CONFIG_SYS_I2C_EEPROM_ADDR=0x50
|
|
CONFIG_SYS_I2C_EEPROM_BUS=2
|
|
CONFIG_SYS_EEPROM_SIZE=32768
|
|
CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=6
|
|
CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
|
|
CONFIG_DM_MMC=y
|
|
CONFIG_FSL_ESDHC=y
|
|
CONFIG_MTD=y
|
|
CONFIG_NAND_VF610_NFC=y
|
|
CONFIG_NAND_VF610_NFC_DT=y
|
|
CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
|
|
CONFIG_DM_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
CONFIG_SPI_FLASH_MTD=y
|
|
CONFIG_PHYLIB=y
|
|
CONFIG_PHY_MICREL=y
|
|
CONFIG_PHY_MICREL_KSZ8XXX=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_FEC_MXC=y
|
|
CONFIG_MII=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_VYBRID=y
|
|
CONFIG_DM_RTC=y
|
|
CONFIG_RTC_M41T62=y
|
|
# CONFIG_SPL_SERIAL_PRESENT is not set
|
|
# CONFIG_TPL_SERIAL_PRESENT is not set
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_FSL_LPUART=y
|
|
CONFIG_SPI=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_FSL_QSPI=y
|
|
# CONFIG_EFI_LOADER is not set
|