u-boot/board/ti/am57xx
Uri Mashiach 1a9a5f7a39 usb: host: xhci-omap: fix double weak board_usb_init functions
A weak version of the function board_usb_init is implemented in:
common/usb.c
drivers/usb/host/xhci-omap.c

To fix the double implementations:
* Convert the board_usb_init function in drivers/usb/host/xhci-omap.c
  normal (not weak).
* The function board_usb_init in drivers/usb/host/xhci-omap.c calls to
  the weak function omap_xhci_board_usb_init.
* Rename board version of the function board_usb_init to
  omap_xhci_board_usb_init.
  Done only for boards that defines CONFIG_USB_XHCI_OMAP.

To achieve the same flexibility with the function board_usb_cleanup:
* Add a normal (not weak) implementation of the function
  board_usb_cleanup in drivers/usb/host/xhci-omap.c
* The function board_usb_cleanup in drivers/usb/host/xhci-omap.c calls
  to the weak function omap_xhci_board_usb_cleanup.
* Rename board version of the function board_usb_cleanup to
  omap_xhci_board_usb_cleanup.
  Done only for boards that defines CONFIG_USB_XHCI_OMAP.

Cc: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Roger Quadros <rogerq@ti.com>
2017-05-08 11:38:37 -04:00
..
board.c usb: host: xhci-omap: fix double weak board_usb_init functions 2017-05-08 11:38:37 -04:00
Kconfig board: am57xx: Rename TARGET_BEAGLE_X15 as TARGET_AM57XX_EVM 2016-06-13 08:56:36 -04:00
MAINTAINERS board: am57xx: MAINTAINERS: Update for current maintainer 2016-09-07 08:49:04 -04:00
Makefile board: ti: beagle_x15: Rename to indicate support for TI am57xx evms 2015-11-18 08:47:03 -05:00
mux_data.h board: ti: am57xx: enable input on mmc clock 2017-04-08 09:26:48 -04:00