u-boot/board/ti
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
..
am43xx usb: host: xhci-omap: fix double weak board_usb_init functions 2017-05-08 11:38:37 -04:00
am57xx usb: host: xhci-omap: fix double weak board_usb_init functions 2017-05-08 11:38:37 -04:00
am335x config: am335x_evm: detect BeagleBone Blue using BLA 2017-04-08 09:26:52 -04:00
am3517crane ti: boot: Register the MMC controllers in SPL in the same way as in u-boot 2017-03-19 22:17:14 -04:00
beagle 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 ARM: Use Kconfig for board EEPROM's I2C bus and chip address 2017-03-20 17:57:15 -04:00
dra7xx usb: host: xhci-omap: fix double weak board_usb_init functions 2017-05-08 11:38:37 -04:00
evm ti: boot: Register the MMC controllers in SPL in the same way as in u-boot 2017-03-19 22:17:14 -04:00
ks2_evm ARM: k2g: setup PRU ethernet MAC addresses 2017-03-20 17:57:15 -04:00
omap5_uevm ti: boot: Register the MMC controllers in SPL in the same way as in u-boot 2017-03-19 22:17:14 -04:00
panda ti: boot: Register the MMC controllers in SPL in the same way as in u-boot 2017-03-19 22:17:14 -04:00
sdp4430 Convert CONFIG_CMD_BAT to Kconfig 2017-04-30 10:30:00 -04:00
ti814x ti: boot: Register the MMC controllers in SPL in the same way as in u-boot 2017-03-19 22:17:14 -04:00
ti816x ti816x: Switch to SYS_GENERIC_BOARD 2015-09-15 13:55:23 -04:00