public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2 v2] arm: BeagleBone Black: enable fastboot support
@ 2014-08-11  1:59 Dileep Katta
  2014-08-11  1:59 ` [U-Boot] [PATCH 2/2 v2] fastboot: Flash command support Dileep Katta
  0 siblings, 1 reply; 4+ messages in thread
From: Dileep Katta @ 2014-08-11  1:59 UTC (permalink / raw)
  To: u-boot

        Enable Android Fastboot support on am335x_evm board

Signed-off-by: Dileep Katta <dileep.katta@linaro.org>
---
Changes for v2:
	-None
 include/configs/am335x_evm.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 35ae0e6..3999405 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -291,6 +291,11 @@
 #define CONFIG_AM335X_USB0_MODE	MUSB_PERIPHERAL
 #define CONFIG_AM335X_USB1
 #define CONFIG_AM335X_USB1_MODE MUSB_HOST
+/* Fastboot */
+#define CONFIG_CMD_FASTBOOT
+#define CONFIG_ANDROID_BOOT_IMAGE
+#define CONFIG_USB_FASTBOOT_BUF_ADDR	CONFIG_SYS_LOAD_ADDR
+#define CONFIG_USB_FASTBOOT_BUF_SIZE	0x07000000
 
 #ifdef CONFIG_MUSB_HOST
 #define CONFIG_CMD_USB
@@ -303,8 +308,13 @@
 #define CONFIG_USBNET_HOST_ADDR	"de:ad:be:af:00:00"
 
 /* USB TI's IDs */
+#ifdef CONFIG_CMD_FASTBOOT
+#define CONFIG_G_DNL_VENDOR_NUM 0x0451
+#define CONFIG_G_DNL_PRODUCT_NUM 0xd022 /* TI fastboot PID */
+#else
 #define CONFIG_G_DNL_VENDOR_NUM 0x0403
 #define CONFIG_G_DNL_PRODUCT_NUM 0xBD00
+#endif
 #define CONFIG_G_DNL_MANUFACTURER "Texas Instruments"
 #endif /* CONFIG_MUSB_GADGET */
 
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-11  7:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-11  1:59 [U-Boot] [PATCH 1/2 v2] arm: BeagleBone Black: enable fastboot support Dileep Katta
2014-08-11  1:59 ` [U-Boot] [PATCH 2/2 v2] fastboot: Flash command support Dileep Katta
2014-08-11 19:52   ` Steve Rae
2014-09-11  7:01     ` Dileep Katta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox