summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2016-02-27 19:19:06 +0100
committerTom Rini <trini@konsulko.com>2016-03-15 15:12:52 -0400
commite66782e6eae2b918bffd56d7146895f8ad1c00dc (patch)
treeed2a5b6c8f9c40df3743a95d0f12a62458ac9ba9 /include/configs
parent27754d18fc1b5a5c6a6e86ababf44b382a6dc7d9 (diff)
downloadu-boot-imx-e66782e6eae2b918bffd56d7146895f8ad1c00dc.zip
u-boot-imx-e66782e6eae2b918bffd56d7146895f8ad1c00dc.tar.gz
u-boot-imx-e66782e6eae2b918bffd56d7146895f8ad1c00dc.tar.bz2
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')
-rw-r--r--include/configs/kc1.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/configs/kc1.h b/include/configs/kc1.h
index 281041d..185e8de 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
*/