mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 14:23:00 +00:00
7c798a11d4
The 'phy' reset of gmac device in kernel device tree is not generic enough for u-boot to use, so we need to overwrite the 'resets' property as needed. With this device tree fixup and poplar_defconfig changes, Ethernet starts working on Poplar board. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
36 lines
962 B
Text
36 lines
962 B
Text
CONFIG_ARM=y
|
|
CONFIG_TARGET_POPLAR=y
|
|
CONFIG_SYS_TEXT_BASE=0x37000000
|
|
CONFIG_IDENT_STRING="poplar"
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_NR_DRAM_BANKS=2
|
|
# CONFIG_DISPLAY_CPUINFO is not set
|
|
CONFIG_SYS_PROMPT="poplar# "
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_USB=y
|
|
# CONFIG_ISO_PARTITION is not set
|
|
CONFIG_DEFAULT_DEVICE_TREE="hi3798cv200-poplar"
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
CONFIG_USB_FUNCTION_FASTBOOT=y
|
|
CONFIG_FASTBOOT_BUF_ADDR=0x20000000
|
|
CONFIG_FASTBOOT_BUF_SIZE=0x10000000
|
|
CONFIG_FASTBOOT_FLASH=y
|
|
CONFIG_FASTBOOT_FLASH_MMC_DEV=0
|
|
CONFIG_DM_MMC=y
|
|
CONFIG_MMC_DW=y
|
|
CONFIG_MMC_DW_K3=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_HIGMACV300_ETH=y
|
|
CONFIG_RESET_HISILICON=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_EHCI_GENERIC=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="HiSilicon"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x18d1
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0xd00d
|
|
CONFIG_USB_GADGET_DWC2_OTG=y
|
|
CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8=y
|
|
CONFIG_USB_HOST_ETHER=y
|
|
CONFIG_USB_ETHER_ASIX=y
|
|
CONFIG_FAT_WRITE=y
|