]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: s3c-otg: Rename sources to dwc2_*c
authorMarek Vasut <marex@denx.de>
Fri, 4 Dec 2015 01:34:46 +0000 (02:34 +0100)
committerMarek Vasut <marex@denx.de>
Thu, 17 Dec 2015 20:54:40 +0000 (21:54 +0100)
The driver is actually for the Designware DWC2 controller.
This patch renames the local source files to dwc2_*c and
adjusts the Makefile to use the new names.

Signed-off-by: Marek Vasut <marex@denx.de>
drivers/usb/gadget/Makefile
drivers/usb/gadget/dwc2_udc_otg.c [moved from drivers/usb/gadget/s3c_udc_otg.c with 99% similarity]
drivers/usb/gadget/dwc2_udc_otg_phy.c [moved from drivers/usb/gadget/s3c_udc_otg_phy.c with 98% similarity]
drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c [moved from drivers/usb/gadget/s3c_udc_otg_xfer_dma.c with 99% similarity]

index 6288ecf09f5316385b17ef2054b518277745a5c8..dd4df001841bd43be18d159fef8b6b9365a4d118 100644 (file)
@@ -13,8 +13,8 @@ ifdef CONFIG_USB_GADGET
 obj-$(CONFIG_USB_GADGET_AT91) += at91_udc.o
 obj-$(CONFIG_USB_GADGET_ATMEL_USBA) += atmel_usba_udc.o
 obj-$(CONFIG_USB_GADGET_BCM_UDC_OTG_PHY) += bcm_udc_otg_phy.o
-obj-$(CONFIG_USB_GADGET_S3C_UDC_OTG) += s3c_udc_otg.o
-obj-$(CONFIG_USB_GADGET_S3C_UDC_OTG_PHY) += s3c_udc_otg_phy.o
+obj-$(CONFIG_USB_GADGET_S3C_UDC_OTG) += dwc2_udc_otg.o
+obj-$(CONFIG_USB_GADGET_S3C_UDC_OTG_PHY) += dwc2_udc_otg_phy.o
 obj-$(CONFIG_USB_GADGET_FOTG210) += fotg210.o
 obj-$(CONFIG_CI_UDC)   += ci_udc.o
 obj-$(CONFIG_USB_GADGET_DOWNLOAD) += g_dnl.o
similarity index 99%
rename from drivers/usb/gadget/s3c_udc_otg.c
rename to drivers/usb/gadget/dwc2_udc_otg.c
index 0bff63f2f166675a13725a05e80cf5d6a0f5a24c..40a7125ca00322083dae37d6d6b120215fe64c6d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * drivers/usb/gadget/s3c_udc_otg.c
+ * drivers/usb/gadget/dwc2_udc_otg.c
  * Samsung S3C on-chip full/high speed USB OTG 2.0 device controllers
  *
  * Copyright (C) 2008 for Samsung Electronics
@@ -157,7 +157,7 @@ __weak void otg_phy_off(struct dwc2_udc *dev) {}
 
 /***********************************************************/
 
-#include "s3c_udc_otg_xfer_dma.c"
+#include "dwc2_udc_otg_xfer_dma.c"
 
 /*
  *     udc_disable - disable USB device controller
similarity index 98%
rename from drivers/usb/gadget/s3c_udc_otg_phy.c
rename to drivers/usb/gadget/dwc2_udc_otg_phy.c
index ab7515bb56fa7bd88b04f7fd8dfc3a06da74bccd..eedfe37dd17eeb56b548e038f8c89104f91dd698 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * drivers/usb/gadget/s3c_udc_otg.c
+ * drivers/usb/gadget/dwc2_udc_otg.c
  * Samsung S3C on-chip full/high speed USB OTG 2.0 device controllers
  *
  * Copyright (C) 2008 for Samsung Electronics
similarity index 99%
rename from drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
rename to drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c
index b8b270304a9ddad1e2678839d042b3900020a5db..fe02c0f8c2cbfbee5b21818011c5ae464973e1c3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
+ * drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c
  * Samsung S3C on-chip full/high speed USB OTG 2.0 device controllers
  *
  * Copyright (C) 2009 for Samsung Electronics