X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fsamsung%2Fgoni%2Fgoni.c;h=1600568193ab194ac6e88ea8a8ed26799e5271f6;hb=5d5716eebccaa9b9ab977b7d5a9fae2abb7a8829;hp=58cf96eaa84f49bcd9ce47a3f2476504deb783be;hpb=68e80fdda1336068f40915388bbdacfd2b75233a;p=oweals%2Fu-boot.git diff --git a/board/samsung/goni/goni.c b/board/samsung/goni/goni.c index 58cf96eaa8..1600568193 100644 --- a/board/samsung/goni/goni.c +++ b/board/samsung/goni/goni.c @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include #include @@ -183,7 +183,7 @@ static int s5pc1xx_phy_control(int on) return 0; } -struct s3c_plat_otg_data s5pc110_otg_data = { +struct dwc2_plat_otg_data s5pc110_otg_data = { .phy_control = s5pc1xx_phy_control, .regs_phy = S5PC110_PHY_BASE, .regs_otg = S5PC110_OTG_BASE, @@ -193,7 +193,7 @@ struct s3c_plat_otg_data s5pc110_otg_data = { int board_usb_init(int index, enum usb_init_type init) { debug("USB_udc_probe\n"); - return s3c_udc_probe(&s5pc110_otg_data); + return dwc2_udc_probe(&s5pc110_otg_data); } #endif @@ -206,3 +206,8 @@ int misc_init_r(void) return 0; } #endif + +int board_usb_cleanup(int index, enum usb_init_type init) +{ + return 0; +}