diff options
author | Tom Rini <trini@konsulko.com> | 2015-12-17 21:46:04 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-12-17 21:46:04 -0500 |
commit | 123b70177931a5aed92beca76bb622b2f4005be8 (patch) | |
tree | 83955f114744e2450e828ee5a183962287f43038 /board/terasic | |
parent | 9cddb4fe0266484aab9babdd2ebe650021644ea9 (diff) | |
parent | e4b70d80350c1238fa07872d71c19e3ddbf53b76 (diff) | |
download | u-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/terasic')
-rw-r--r-- | board/terasic/sockit/socfpga.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/terasic/sockit/socfpga.c b/board/terasic/sockit/socfpga.c index a1dbc49..0fbbc34 100644 --- a/board/terasic/sockit/socfpga.c +++ b/board/terasic/sockit/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) |