u-boot/board/compulab
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
..
cl-som-am57x usb: host: xhci-omap: fix double weak board_usb_init functions 2017-05-08 11:38:37 -04:00
cm_fx6 board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
cm_t35 ti: boot: Register the MMC controllers in SPL in the same way as in u-boot 2017-03-19 22:17:14 -04:00
cm_t43 arm: am437x: cm-t43: set MPU and CORE voltages on boot 2016-02-24 18:44:09 -05:00
cm_t54 ti: boot: Register the MMC controllers in SPL in the same way as in u-boot 2017-03-19 22:17:14 -04:00
cm_t335 status_led: Kconfig migration 2017-01-21 15:12:33 -05:00
cm_t3517 ti: boot: Register the MMC controllers in SPL in the same way as in u-boot 2017-03-19 22:17:14 -04:00
common treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
trimslice dm: tegra: net: Convert tegra boards to driver model for Ethernet 2016-01-12 10:19:09 -07:00