diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2016-02-27 19:19:06 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-15 15:12:52 -0400 |
commit | e66782e6eae2b918bffd56d7146895f8ad1c00dc (patch) | |
tree | ed2a5b6c8f9c40df3743a95d0f12a62458ac9ba9 /include/configs/kc1.h | |
parent | 27754d18fc1b5a5c6a6e86ababf44b382a6dc7d9 (diff) |
kc1: MUSB USB controller and fastboot USB gadget support
This adds support for the MUSB USB dual-role controller in peripheral mode,
with configuration options for the fastboot USB gadget.
At this point, flashing the internal eMMC is support.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'include/configs/kc1.h')
-rw-r--r-- | include/configs/kc1.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/include/configs/kc1.h b/include/configs/kc1.h index 281041dc312..185e8de3199 100644 --- a/include/configs/kc1.h +++ b/include/configs/kc1.h @@ -172,6 +172,41 @@ 115200 } /* + * USB gadget + */ + +#define CONFIG_USB_MUSB_PIO_ONLY +#define CONFIG_USB_MUSB_OMAP2PLUS + +#define CONFIG_USB_GADGET +#define CONFIG_USB_GADGET_DUALSPEED +#define CONFIG_USB_GADGET_VBUS_DRAW 0 + +/* + * Download + */ + +#define CONFIG_USB_GADGET_DOWNLOAD + +#define CONFIG_G_DNL_VENDOR_NUM 0x0451 +#define CONFIG_G_DNL_PRODUCT_NUM 0xd022 +#define CONFIG_G_DNL_MANUFACTURER "Texas Instruments" + +/* + * Fastboot + */ + +#define CONFIG_USB_FUNCTION_FASTBOOT + +#define CONFIG_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR +#define CONFIG_FASTBOOT_BUF_SIZE 0x2000000 + +#define CONFIG_FASTBOOT_FLASH +#define CONFIG_FASTBOOT_FLASH_MMC_DEV 0 + +#define CONFIG_CMD_FASTBOOT + +/* * Environment */ |