]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
implement Fastboot via USB OTG on bcm28155_ap boards
authorJiandong Zheng <jdzheng@broadcom.com>
Thu, 9 Jul 2015 21:26:40 +0000 (14:26 -0700)
committerMarek Vasut <marex@denx.de>
Mon, 7 Sep 2015 11:41:03 +0000 (13:41 +0200)
Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com>
Signed-off-by: Steve Rae <srae@broadcom.com>
include/configs/bcm28155_ap.h

index b7c5716eae435e2a73882dd1be659e33fc117de2..7b48875d63861ab9b971f3a8b7f888d462aa69c2 100644 (file)
 #define CONFIG_G_DNL_PRODUCT_NUM       0x0d02  /* nexus one */
 #define CONFIG_G_DNL_MANUFACTURER      "Broadcom Corporation"
 
+/* Fastboot and USB OTG */
+#define CONFIG_USB_FUNCTION_FASTBOOT
+#define CONFIG_CMD_FASTBOOT
+#define CONFIG_FASTBOOT_FLASH
+#define CONFIG_FASTBOOT_FLASH_MMC_DEV  0
+#define CONFIG_SYS_CACHELINE_SIZE      64
+#define CONFIG_USB_FASTBOOT_BUF_SIZE   (CONFIG_SYS_SDRAM_SIZE - SZ_1M)
+#define CONFIG_USB_FASTBOOT_BUF_ADDR   CONFIG_SYS_SDRAM_BASE
+#define CONFIG_USB_GADGET
+#define CONFIG_USB_GADGET_DUALSPEED
+#define CONFIG_USB_GADGET_VBUS_DRAW    0
+#define CONFIG_USB_GADGET_S3C_UDC_OTG
+#define CONFIG_USB_GADGET_BCM_UDC_OTG_PHY
+#define CONFIG_USB_GADGET_DOWNLOAD
+#define CONFIG_USBID_ADDR              0x34052c46
+#define CONFIG_G_DNL_VENDOR_NUM                0x18d1  /* google */
+#define CONFIG_G_DNL_PRODUCT_NUM       0x0d02  /* nexus one */
+#define CONFIG_G_DNL_MANUFACTURER      "Broadcom Corporation"
+
 #endif /* __BCM28155_AP_H */