On 06/14/2017 02:25 PM, Vignesh R wrote: [...] >>> /** >>> * dwc3_omap_uboot_init - dwc3 omap uboot initialization code >>> * @dev: struct dwc3_omap_device containing initialization data >>> @@ -462,3 +487,145 @@ MODULE_ALIAS("platform:omap-dwc3"); >>> MODULE_AUTHOR("Felipe Balbi <ba...@ti.com>"); >>> MODULE_LICENSE("GPL v2"); >>> MODULE_DESCRIPTION("DesignWare USB3 OMAP Glue Layer"); >>> + >>> +#else >>> + >>> +int usb_gadget_handle_interrupts(int index) >> >> Can this be made somehow more generic , so that the core code would >> contain the basic interrupt handling and probe routines and the various >> SoC-specific drivers would add their specific bits to it ? >> > > How about moving this to drivers/usb/dwc3/gadget.c and then provide a > callback to each of SoC specific drivers? > That could work.
-- Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot