diff options
author | Marek Vasut <marex@denx.de> | 2015-12-04 04:44:33 +0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-12-17 23:54:40 +0300 |
commit | 507e677bc4f25b15d81d599c3d8b669ab9846493 (patch) | |
tree | 90c28230656c338a3bfba6fc5574a0758061c38a /drivers/usb/gadget/dwc2_udc_otg_priv.h | |
parent | be5e4bdcedbd3bf5f2717fc22356e825bca0fbcd (diff) | |
download | u-boot-507e677bc4f25b15d81d599c3d8b669ab9846493.tar.xz |
usb: s3c-otg: Rename remaining macros
The driver is actually for the Designware DWC2 controller.
This patch renames the remaining S3C_* macros to match the
DWC2 naming.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/usb/gadget/dwc2_udc_otg_priv.h')
-rw-r--r-- | drivers/usb/gadget/dwc2_udc_otg_priv.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/dwc2_udc_otg_priv.h b/drivers/usb/gadget/dwc2_udc_otg_priv.h index 1dcb277ad3..5126a9d8eb 100644 --- a/drivers/usb/gadget/dwc2_udc_otg_priv.h +++ b/drivers/usb/gadget/dwc2_udc_otg_priv.h @@ -24,8 +24,8 @@ #define EP_FIFO_SIZE 512 #define EP_FIFO_SIZE2 1024 /* ep0-control, ep1in-bulk, ep2out-bulk, ep3in-int */ -#define S3C_MAX_ENDPOINTS 4 -#define S3C_MAX_HW_ENDPOINTS 16 +#define DWC2_MAX_ENDPOINTS 4 +#define DWC2_MAX_HW_ENDPOINTS 16 #define WAIT_FOR_SETUP 0 #define DATA_STATE_XMIT 1 @@ -81,7 +81,7 @@ struct dwc2_udc { struct s3c_plat_otg_data *pdata; int ep0state; - struct dwc2_ep ep[S3C_MAX_ENDPOINTS]; + struct dwc2_ep ep[DWC2_MAX_ENDPOINTS]; unsigned char usb_address; |