mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 15:38:51 +09:00
![Tom Rini](/assets/img/avatar_default.png)
Introduce a hidden USB_FUNCTION_DFU Kconfig option and select it for CMD_DFU (as we must have the DFU command enabled to do anything DFU). Make all of the entries in drivers/dfu/Kconfig depend on CMD_DFU and add options for all of the back end choices that DFU can make use of. Cc: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Lukasz Majewski <l.majewski@samsung.com>
30 lines
810 B
Plaintext
30 lines
810 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_SPL_I2C_SUPPORT=y
|
|
CONFIG_MACH_SUN7I=y
|
|
CONFIG_DRAM_CLK=432
|
|
CONFIG_MMC0_CD_PIN="PH1"
|
|
CONFIG_USB0_VBUS_PIN="PH17"
|
|
CONFIG_USB0_VBUS_DET="PH22"
|
|
CONFIG_USB0_ID_DET="PH19"
|
|
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_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPH(12)"
|
|
CONFIG_SPL=y
|
|
# CONFIG_CMD_IMLS is not set
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_DFU=y
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
|
# CONFIG_CMD_FPGA is not set
|
|
CONFIG_DFU_RAM=y
|
|
CONFIG_ETH_DESIGNWARE=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_MUSB_GADGET=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
CONFIG_G_DNL_MANUFACTURER="Allwinner Technology"
|
|
CONFIG_G_DNL_VENDOR_NUM=0x1f3a
|
|
CONFIG_G_DNL_PRODUCT_NUM=0x1010
|