mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 15:38:51 +09:00
![Maxime Ripard](/assets/img/avatar_default.png)
The Cubietruck has a mini-USB connector that can be used to power up the board and as an OTG connector. Since we have already some USB host-only ports right beside this one, enable it in gadget mode Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
22 lines
584 B
Plaintext
22 lines
584 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_MACH_SUN7I=y
|
|
CONFIG_DRAM_CLK=432
|
|
CONFIG_MMC0_CD_PIN="PH1"
|
|
CONFIG_VIDEO_VGA=y
|
|
CONFIG_GMAC_TX_DELAY=1
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-cubietruck"
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
CONFIG_SPL=y
|
|
CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPH(12)"
|
|
# CONFIG_CMD_IMLS is not set
|
|
# CONFIG_CMD_FLASH is not set
|
|
# CONFIG_CMD_FPGA is not set
|
|
CONFIG_ETH_DESIGNWARE=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB0_ID_DET="PH19"
|
|
CONFIG_USB0_VBUS_DET="PH22"
|
|
CONFIG_USB0_VBUS_PIN="PH17"
|
|
CONFIG_USB_MUSB_SUNXI=y
|
|
CONFIG_USB_MUSB_GADGET=y
|