diff options
author | Marek Vasut <marex@denx.de> | 2015-12-04 02:34:46 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-12-17 21:54:40 +0100 |
commit | be5e4bdcedbd3bf5f2717fc22356e825bca0fbcd (patch) | |
tree | a475ed60b2fb5334c0360229e3608efc3b0dd0a4 | |
parent | f4d9bd06f72ec554e01b29f710243d47f047f5bc (diff) | |
download | u-boot-imx-be5e4bdcedbd3bf5f2717fc22356e825bca0fbcd.zip u-boot-imx-be5e4bdcedbd3bf5f2717fc22356e825bca0fbcd.tar.gz u-boot-imx-be5e4bdcedbd3bf5f2717fc22356e825bca0fbcd.tar.bz2 |
usb: s3c-otg: Rename sources to dwc2_*c
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>
-rw-r--r-- | drivers/usb/gadget/Makefile | 4 | ||||
-rw-r--r-- | drivers/usb/gadget/dwc2_udc_otg.c (renamed from drivers/usb/gadget/s3c_udc_otg.c) | 4 | ||||
-rw-r--r-- | drivers/usb/gadget/dwc2_udc_otg_phy.c (renamed from drivers/usb/gadget/s3c_udc_otg_phy.c) | 2 | ||||
-rw-r--r-- | drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c (renamed from drivers/usb/gadget/s3c_udc_otg_xfer_dma.c) | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile index 6288ecf..dd4df00 100644 --- a/drivers/usb/gadget/Makefile +++ b/drivers/usb/gadget/Makefile @@ -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 diff --git a/drivers/usb/gadget/s3c_udc_otg.c b/drivers/usb/gadget/dwc2_udc_otg.c index 0bff63f..40a7125 100644 --- a/drivers/usb/gadget/s3c_udc_otg.c +++ b/drivers/usb/gadget/dwc2_udc_otg.c @@ -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 diff --git a/drivers/usb/gadget/s3c_udc_otg_phy.c b/drivers/usb/gadget/dwc2_udc_otg_phy.c index ab7515b..eedfe37 100644 --- a/drivers/usb/gadget/s3c_udc_otg_phy.c +++ b/drivers/usb/gadget/dwc2_udc_otg_phy.c @@ -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 diff --git a/drivers/usb/gadget/s3c_udc_otg_xfer_dma.c b/drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c index b8b2703..fe02c0f 100644 --- a/drivers/usb/gadget/s3c_udc_otg_xfer_dma.c +++ b/drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c @@ -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 |