[U-Boot] [PATCH 02/11] drivers: usb: dwc3-omap: move usb_gadget_handle_interrupts from board files to drivers

Simon Glass sjg at chromium.org
Wed May 31 03:50:19 UTC 2017


On 23 May 2017 at 05:55, Vignesh R <vigneshr at ti.com> wrote:
> From: Mugunthan V N <mugunthanvnm at ti.com>
>
> In board files of am437x, dra7xx, omap5 and am5xx,
> usb_gadget_handle_interrupts() is just a place holder to handle
> dwc3 interrupts, nothing related to board is handled here, so
> move usb_gadget_handle_interrupts() from board files to
> dwc3-omap.c to avoid code duplication based on boards.
>
> Signed-off-by: Mugunthan V N <mugunthanvnm at ti.com>
> Signed-off-by: Vignesh R <vigneshr at ti.com>
> ---
>  board/ti/am43xx/board.c      | 11 -----------
>  board/ti/dra7xx/evm.c        | 11 -----------
>  board/ti/omap5_uevm/evm.c    | 11 -----------
>  drivers/usb/dwc3/dwc3-omap.c | 12 ++++++++++++
>  4 files changed, 12 insertions(+), 33 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list