OMAP3: omap3_logic: Enable Android Fastboot
Android Fastboot requires USB. The TWL4030 PMIC on omap3_logic handles USB traffic. This patch sets up the USB gadget and Android Fastboot to match what is done in the omap3_beagle project. Signed-off-by: Adam Ford <aford173@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -74,8 +74,29 @@
|
||||
#define EXPANSION_EEPROM_I2C_BUS 2 /* I2C Bus for AT24C64 */
|
||||
#define CONFIG_OMAP3_LOGIC_USE_NEW_PRODUCT_ID
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_USB_MUSB_GADGET
|
||||
#define CONFIG_USB_MUSB_OMAP2PLUS
|
||||
#define CONFIG_USB_MUSB_PIO_ONLY
|
||||
#define CONFIG_USB_GADGET_DUALSPEED
|
||||
#define CONFIG_USB_ETHER
|
||||
#define CONFIG_USB_ETHER_RNDIS
|
||||
#define CONFIG_USB_GADGET
|
||||
#define CONFIG_USB_GADGET_VBUS_DRAW 0
|
||||
#define CONFIG_USB_GADGET_DOWNLOAD
|
||||
#define CONFIG_G_DNL_VENDOR_NUM 0x0451
|
||||
#define CONFIG_G_DNL_PRODUCT_NUM 0xd022
|
||||
#define CONFIG_G_DNL_MANUFACTURER "TI"
|
||||
#define CONFIG_USB_FUNCTION_FASTBOOT
|
||||
#define CONFIG_CMD_FASTBOOT
|
||||
#define CONFIG_ANDROID_BOOT_IMAGE
|
||||
#define CONFIG_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR
|
||||
#define CONFIG_FASTBOOT_BUF_SIZE 0x07000000
|
||||
#define CONFIG_SYS_CACHELINE_SIZE 64
|
||||
|
||||
/* TWL4030 */
|
||||
#define CONFIG_TWL4030_PWM
|
||||
#define CONFIG_TWL4030_USB
|
||||
|
||||
/* Board NAND Info. */
|
||||
#ifdef CONFIG_NAND
|
||||
|
||||
Reference in New Issue
Block a user