]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
usb: s3c-otg: Rename usb/s3c_udc.h to usb/dwc2_udc.h
authorMarek Vasut <marex@denx.de>
Fri, 4 Dec 2015 01:51:20 +0000 (02:51 +0100)
committerMarek Vasut <marex@denx.de>
Thu, 17 Dec 2015 20:54:41 +0000 (21:54 +0100)
The driver is actually for the Designware DWC2 controller.
This patch renames the global s3c_udc.h header to dwc2_udc.h.

The rename is done automatically:
$ sed -i "s/s3c_udc\.h/dwc2_udc.h/g" \
`git grep "s3c_udc\.h" | cut -d : -f 1`

Signed-off-by: Marek Vasut <marex@denx.de>
15 files changed:
board/altera/arria5-socdk/socfpga.c
board/altera/cyclone5-socdk/socfpga.c
board/broadcom/bcm28155_ap/bcm28155_ap.c
board/denx/mcvevk/socfpga.c
board/ebv/socrates/socfpga.c
board/samsung/goni/goni.c
board/samsung/odroid/odroid.c
board/samsung/trats/trats.c
board/samsung/trats2/trats2.c
board/samsung/universal_c210/universal.c
board/terasic/sockit/socfpga.c
drivers/usb/gadget/dwc2_udc_otg.c
drivers/usb/gadget/dwc2_udc_otg_phy.c
drivers/usb/gadget/dwc2_udc_otg_priv.h
include/usb/dwc2_udc.h [moved from include/usb/s3c_udc.h with 79% similarity]

index e640d8cccf8cae39c5f76ce22d981db9cb886124..0fbbc3456ca3b03253f4cdea2621d88e836695c8 100644 (file)
@@ -9,7 +9,7 @@
 #include <asm/io.h>
 
 #include <usb.h>
-#include <usb/s3c_udc.h>
+#include <usb/dwc2_udc.h>
 #include <usb_mass_storage.h>
 
 #include <micrel.h>
index e640d8cccf8cae39c5f76ce22d981db9cb886124..0fbbc3456ca3b03253f4cdea2621d88e836695c8 100644 (file)
@@ -9,7 +9,7 @@
 #include <asm/io.h>
 
 #include <usb.h>
-#include <usb/s3c_udc.h>
+#include <usb/dwc2_udc.h>
 #include <usb_mass_storage.h>
 
 #include <micrel.h>
index 09397fc55ba5c074bcfbc418821b6197e6c5104d..b3a4a4144d651ea12ea28484ba5c8e6559e88e34 100644 (file)
@@ -13,7 +13,7 @@
 #include <asm/arch/sysmap.h>
 
 #include <usb.h>
-#include <usb/s3c_udc.h>
+#include <usb/dwc2_udc.h>
 #include <g_dnl.h>
 
 #define SECWATCHDOG_SDOGCR_OFFSET      0x00000000
index 3870b0b2afeefb12ea956fed0892a7966e169b8d..0f93722dfbd2ed436208986ea7b3e2cc094d16ef 100644 (file)
@@ -9,7 +9,7 @@
 #include <asm/io.h>
 
 #include <usb.h>
-#include <usb/s3c_udc.h>
+#include <usb/dwc2_udc.h>
 #include <usb_mass_storage.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index e640d8cccf8cae39c5f76ce22d981db9cb886124..0fbbc3456ca3b03253f4cdea2621d88e836695c8 100644 (file)
@@ -9,7 +9,7 @@
 #include <asm/io.h>
 
 #include <usb.h>
-#include <usb/s3c_udc.h>
+#include <usb/dwc2_udc.h>
 #include <usb_mass_storage.h>
 
 #include <micrel.h>
index 2725a46858565cb936c536b2f45f585bd4ec5138..1600568193ab194ac6e88ea8a8ed26799e5271f6 100644 (file)
@@ -10,7 +10,7 @@
 #include <asm/gpio.h>
 #include <asm/arch/mmc.h>
 #include <power/pmic.h>
-#include <usb/s3c_udc.h>
+#include <usb/dwc2_udc.h>
 #include <asm/arch/cpu.h>
 #include <power/max8998_pmic.h>
 #include <samsung/misc.h>
index a3ee159d3e226e694ca3b213d4f2d98a4d25fe66..b4cb33240e18dbf431f04d4e0e40bdb6a115580c 100644 (file)
@@ -19,7 +19,7 @@
 #include <errno.h>
 #include <mmc.h>
 #include <usb.h>
-#include <usb/s3c_udc.h>
+#include <usb/dwc2_udc.h>
 #include <samsung/misc.h>
 #include "setup.h"
 
index 6f711a8c64ba92b943bad50f8cd754787c6656b3..54d01ec439a239b27b341014d8546074570f3ef5 100644 (file)
@@ -18,7 +18,7 @@
 #include <asm/arch/watchdog.h>
 #include <asm/arch/power.h>
 #include <power/pmic.h>
-#include <usb/s3c_udc.h>
+#include <usb/dwc2_udc.h>
 #include <power/max8997_pmic.h>
 #include <power/max8997_muic.h>
 #include <power/battery.h>
index dd7a6068385566b7cac4021687620e7aad07346b..7b28ae8cc72c8adc7e20e8ad3ae8f66b823d14ca 100644 (file)
@@ -21,7 +21,7 @@
 #include <libtizen.h>
 #include <errno.h>
 #include <usb.h>
-#include <usb/s3c_udc.h>
+#include <usb/dwc2_udc.h>
 #include <usb_mass_storage.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index 0c1b9d820a60eb716d015390a1a99654c52e7d2d..c25b486f4a91610dc451126809aa2171983d07ce 100644 (file)
@@ -17,7 +17,7 @@
 #include <ld9040.h>
 #include <power/pmic.h>
 #include <usb.h>
-#include <usb/s3c_udc.h>
+#include <usb/dwc2_udc.h>
 #include <asm/arch/cpu.h>
 #include <power/max8998_pmic.h>
 #include <libtizen.h>
index e640d8cccf8cae39c5f76ce22d981db9cb886124..0fbbc3456ca3b03253f4cdea2621d88e836695c8 100644 (file)
@@ -9,7 +9,7 @@
 #include <asm/io.h>
 
 #include <usb.h>
-#include <usb/s3c_udc.h>
+#include <usb/dwc2_udc.h>
 #include <usb_mass_storage.h>
 
 #include <micrel.h>
index ad9ed33a655e02eb3cccdef871651cde6fa12667..ffe2952f56b1bfa170d0657da43b11a074c734f1 100644 (file)
@@ -46,7 +46,7 @@
 #define DEBUG_OUT_EP 0
 #define DEBUG_IN_EP 0
 
-#include <usb/s3c_udc.h>
+#include <usb/dwc2_udc.h>
 
 #define EP0_CON                0
 #define EP_MASK                0xF
index d3e9840585f3a52164e69ddd773e82e7afb9c1b9..e0cbbc07579451ca6a980599241d15bc6ff55934 100644 (file)
@@ -36,7 +36,7 @@
 #include "dwc2_udc_otg_priv.h"
 #include <usb/lin_gadget_compat.h>
 
-#include <usb/s3c_udc.h>
+#include <usb/dwc2_udc.h>
 
 void otg_phy_init(struct dwc2_udc *dev)
 {
index c5e9dc29d82ca3741e9602efcdd7ab2497c12d9d..b2c1fc4105332bd3a3dbb925ab5e59e4521e0ae7 100644 (file)
@@ -14,7 +14,7 @@
 #include <linux/usb/gadget.h>
 #include <linux/list.h>
 #include <usb/lin_gadget_compat.h>
-#include <usb/s3c_udc.h>
+#include <usb/dwc2_udc.h>
 
 /*-------------------------------------------------------------------------*/
 /* DMA bounce buffer size, 16K is enough even for mass storage */
similarity index 79%
rename from include/usb/s3c_udc.h
rename to include/usb/dwc2_udc.h
index 9bc1aad9a7dd1df2af462d7bbe20ea2274f81957..302e9a35a23389c82925a7ec0c9bcc9746f0fa5b 100644 (file)
@@ -1,13 +1,13 @@
 /*
- * drivers/usb/gadget/s3c_udc.h
+ * drivers/usb/gadget/dwc2_udc.h
  * Designware DWC2 on-chip full/high speed USB device controllers
  * Copyright (C) 2005 for Samsung Electronics
  *
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#ifndef __S3C_USB_GADGET
-#define __S3C_USB_GADGET
+#ifndef __DWC2_USB_GADGET
+#define __DWC2_USB_GADGET
 
 #define PHY0_SLEEP              (1 << 5)
 
@@ -22,4 +22,4 @@ struct dwc2_plat_otg_data {
 
 int dwc2_udc_probe(struct dwc2_plat_otg_data *pdata);
 
-#endif
+#endif /* __DWC2_USB_GADGET */