summaryrefslogtreecommitdiff
path: root/board/altera
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-12-17 21:46:04 -0500
committerTom Rini <trini@konsulko.com>2015-12-17 21:46:04 -0500
commit123b70177931a5aed92beca76bb622b2f4005be8 (patch)
tree83955f114744e2450e828ee5a183962287f43038 /board/altera
parent9cddb4fe0266484aab9babdd2ebe650021644ea9 (diff)
parente4b70d80350c1238fa07872d71c19e3ddbf53b76 (diff)
downloadu-boot-imx-123b70177931a5aed92beca76bb622b2f4005be8.zip
u-boot-imx-123b70177931a5aed92beca76bb622b2f4005be8.tar.gz
u-boot-imx-123b70177931a5aed92beca76bb622b2f4005be8.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-usb
Diffstat (limited to 'board/altera')
-rw-r--r--board/altera/arria5-socdk/socfpga.c6
-rw-r--r--board/altera/cyclone5-socdk/socfpga.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/board/altera/arria5-socdk/socfpga.c b/board/altera/arria5-socdk/socfpga.c
index a1dbc49..0fbbc34 100644
--- a/board/altera/arria5-socdk/socfpga.c
+++ b/board/altera/arria5-socdk/socfpga.c
@@ -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>
@@ -68,14 +68,14 @@ int board_phy_config(struct phy_device *phydev)
#endif
#ifdef CONFIG_USB_GADGET
-struct s3c_plat_otg_data socfpga_otg_data = {
+struct dwc2_plat_otg_data socfpga_otg_data = {
.regs_otg = CONFIG_USB_DWC2_REG_ADDR,
.usb_gusbcfg = 0x1417,
};
int board_usb_init(int index, enum usb_init_type init)
{
- return s3c_udc_probe(&socfpga_otg_data);
+ return dwc2_udc_probe(&socfpga_otg_data);
}
int g_dnl_board_usb_cable_connected(void)
diff --git a/board/altera/cyclone5-socdk/socfpga.c b/board/altera/cyclone5-socdk/socfpga.c
index a1dbc49..0fbbc34 100644
--- a/board/altera/cyclone5-socdk/socfpga.c
+++ b/board/altera/cyclone5-socdk/socfpga.c
@@ -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>
@@ -68,14 +68,14 @@ int board_phy_config(struct phy_device *phydev)
#endif
#ifdef CONFIG_USB_GADGET
-struct s3c_plat_otg_data socfpga_otg_data = {
+struct dwc2_plat_otg_data socfpga_otg_data = {
.regs_otg = CONFIG_USB_DWC2_REG_ADDR,
.usb_gusbcfg = 0x1417,
};
int board_usb_init(int index, enum usb_init_type init)
{
- return s3c_udc_probe(&socfpga_otg_data);
+ return dwc2_udc_probe(&socfpga_otg_data);
}
int g_dnl_board_usb_cable_connected(void)