Skip to contentSkip to conversation

implement Fastboot via USB OTG on bcm28155_ap boards

PATCH New Steve Rae 2 participants 3 messages Jan 27, 2016 – Feb 16, 2016

Subsystems (2)
lore
Share & tools
lore

Steve Rae

author
#0 lore raw

PATCH 1/1 implement Fastboot via USB OTG on bcm28155_ap boards

Don't understand how it happened, but this change got applied twice! Therefore, removing the duplicated items.

---

 include/configs/bcm28155_ap.h | 20 --------------------
 1 file changed, 20 deletions(-)
include/configs/bcm28155_ap.h +0 -20
index a257084..c9515a8 100644
@@ -130,7 +130,6 @@
 #define CONFIG_CMD_BOOTZ
 #define CONFIG_FAT_WRITE
 
-
 /* Fastboot and USB OTG */
 #define CONFIG_USB_FUNCTION_FASTBOOT
 #define CONFIG_CMD_FASTBOOT
@@ -150,23 +149,4 @@
 #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 */
Signature · 1 line
1.8.5
author
#1 lore raw

PATCH 1/1 implement Fastboot via USB OTG on bcm28155_ap boards

ping this one too - Thanks!

Quoted 46 lines · Steve Rae

Don't understand how it happened, but this change got applied twice! Therefore, removing the duplicated items.

---

  include/configs/bcm28155_ap.h | 20 --------------------
  1 file changed, 20 deletions(-)
include/configs/bcm28155_ap.h +0 -20
index a257084..c9515a8 100644
@@ -130,7 +130,6 @@
  #define CONFIG_CMD_BOOTZ
  #define CONFIG_FAT_WRITE
 
-
  /* Fastboot and USB OTG */
  #define CONFIG_USB_FUNCTION_FASTBOOT
  #define CONFIG_CMD_FASTBOOT
@@ -150,23 +149,4 @@
  #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 */
#2 lore raw

PATCH 1/1 implement Fastboot via USB OTG on bcm28155_ap boards

Quoted 42 lines · Steve Rae

ping this one too - Thanks!

Quoted 39 lines · Steve Rae

Don't understand how it happened, but this change got applied twice! Therefore, removing the duplicated items.

---

  include/configs/bcm28155_ap.h | 20 --------------------
  1 file changed, 20 deletions(-)
include/configs/bcm28155_ap.h +0 -14
index a257084..c9515a8 100644
@@ -130,7 +130,6 @@
  #define CONFIG_CMD_BOOTZ
  #define CONFIG_FAT_WRITE
 
-
  /* Fastboot and USB OTG */
  #define CONFIG_USB_FUNCTION_FASTBOOT
  #define CONFIG_CMD_FASTBOOT
@@ -150,23 +149,4 @@
  #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
Quoted 8 lines

include/configs/bcm28155_ap.h line 152

Quoted 8 lines
include/configs/bcm28155_ap.h +0 -6
-#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 */

Applied to u-boot-usb/master, thanks!