6828e602b7
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
834 B
Plaintext
30 lines
834 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_SPL_I2C_SUPPORT=y
|
|
CONFIG_MACH_SUN7I=y
|
|
CONFIG_DRAM_CLK=480
|
|
CONFIG_MMC0_CD_PIN="PH1"
|
|
CONFIG_USB0_VBUS_PIN="PC17"
|
|
CONFIG_USB0_VBUS_DET="PH5"
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-lime2"
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPC(3)"
|
|
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_RTL8211X_PHY_FORCE_MASTER=y
|
|
CONFIG_ETH_DESIGNWARE=y
|
|
CONFIG_AXP_ALDO3_VOLT=2800
|
|
CONFIG_AXP_ALDO4_VOLT=2800
|
|
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
|