diff options
author | Adam Ford | 2016-01-31 13:34:39 -0600 |
---|---|---|
committer | Tom Rini | 2016-02-08 10:10:43 -0500 |
commit | 588e41d2c7cd689295822e8fb00428aa8d91a580 (patch) | |
tree | 2f9322c0d853da2fb10935980411282ddd0d92b7 /include | |
parent | 92d05e50d957fc8d1e07770991cac0a6cf20e59e (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/omap3_logic.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index b2778cab0b4..1e00455dddc 100644 --- a/include/configs/omap3_logic.h +++ b/include/configs/omap3_logic.h @@ -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 |