u-boot-brain/drivers/usb
Andre Przywara 57faca19a8 drivers: USB: OHCI: allow compilation for 64-bit targets
OHCI has a known limitation of allowing only 32-bit DMA buffer
addresses, so we have a lot of u32 variables around, which are assigned
to pointers and vice versa. This obviously creates issues with 64-bit
systems, so the compiler complains here and there.
To allow compilation for 64-bit boards which use only memory below 4GB
anyway (and to avoid more invasive fixes), adjust some casts and types
and assume that the EDs and TDs are all located in the lower 4GB.
This fixes compilation of the OHCI driver for the Pine64.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2016-10-29 19:45:40 +02:00
..
common Merge branch 'master' of git://git.denx.de/u-boot-usb 2016-09-30 21:58:44 -04:00
dwc3 usb: dwc3: Makefile: Don't build gadget code if USB_GADGET is disabled 2016-05-27 15:39:49 -04:00
emul dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
eth net: smsc95xx: fix DM MAC address reading 2016-10-13 12:25:40 -05:00
gadget usb:gadget: Disallow DFU in SPL for now 2016-09-27 10:46:20 -04:00
host drivers: USB: OHCI: allow compilation for 64-bit targets 2016-10-29 19:45:40 +02:00
musb Fix spelling of "occurred". 2016-05-02 18:37:09 -04:00
musb-new treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
phy treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
ulpi usb: ulpi: Fix compile warning in read/write on 64-bit machines. 2016-04-01 17:18:09 -04:00
Kconfig usb: gadget: Move CONFIG_USB_GADGET_DUALSPEED to Kconfig 2016-04-20 11:43:27 +02:00