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/denx/mcvevk/socfpga.c | |
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/denx/mcvevk/socfpga.c')
-rw-r--r-- | board/denx/mcvevk/socfpga.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/denx/mcvevk/socfpga.c b/board/denx/mcvevk/socfpga.c index 1a23a7d..0f93722 100644 --- a/board/denx/mcvevk/socfpga.c +++ b/board/denx/mcvevk/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> DECLARE_GLOBAL_DATA_PTR; @@ -28,14 +28,14 @@ int board_init(void) } #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) |