mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
a95aee6af7
The g_dnl USB settings for the vendor ID, product ID and manufacturer are actually common settings that can and should be shared by all the gadgets. Make them common by renaming them, and convert all the users. Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_SPL_NAND_SUPPORT=y
|
|
CONFIG_MACH_SUN5I=y
|
|
CONFIG_DRAM_TIMINGS_DDR3_800E_1066G_1333J=y
|
|
CONFIG_USB0_VBUS_PIN="PB10"
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun5i-gr8-chip-pro"
|
|
CONFIG_SYS_EXTRA_OPTIONS="SYS_NAND_BLOCK_SIZE=0x40000,SYS_NAND_PAGE_SIZE=4096,SYS_NAND_OOBSIZE=256"
|
|
CONFIG_SPL=y
|
|
CONFIG_SPL_I2C_SUPPORT=y
|
|
CONFIG_FASTBOOT_FLASH=y
|
|
# CONFIG_CMD_IMLS is not set
|
|
# CONFIG_CMD_FLASH is not set
|
|
# CONFIG_CMD_FPGA is not set
|
|
# CONFIG_CMD_LOADB is not set
|
|
# CONFIG_CMD_LOADS is not set
|
|
CONFIG_MTDIDS_DEFAULT="nand0=sunxi-nand.0"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=sunxi-nand.0:256k(spl),256k(spl-backup),2m(uboot),2m(uboot-backup),-(UBI)"
|
|
CONFIG_ENV_IS_IN_UBI=y
|
|
CONFIG_ENV_UBI_PART="UBI"
|
|
CONFIG_ENV_UBI_VOLUME="uboot-env"
|
|
# CONFIG_MMC is not set
|
|
CONFIG_NAND=y
|
|
CONFIG_NAND_SUNXI=y
|
|
CONFIG_AXP_ALDO3_VOLT=3300
|
|
CONFIG_AXP_ALDO4_VOLT=3300
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_MUSB_GADGET=y
|
|
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="Allwinner Technology"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x1f3a
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0x1010
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
CONFIG_OF_LIBFDT_OVERLAY=y
|