u-boot-brain/arch/powerpc/cpu
Marek Vasut 25315683fd MPC8xxx: Define cache ops for USB
This patch conditionally defines flush_dcache_range() and
invalidate_dcache_range() on MPC8xxx, to avoid EHCI complaining,
resulting in the following output:

$ ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- ./MAKEALL MPC8572DS
Configuring for MPC8572DS board...
make: *** [u-boot] Error 1
powerpc-linux-gnu-size: './u-boot': No such file
e1000.c: In function ‘e1000_initialize’:
e1000.c:5264:13: warning: assignment from incompatible pointer type [enabled by default]
tsec.c: In function ‘tsec_initialize’:
tsec.c:638:12: warning: assignment from incompatible pointer type [enabled by default]
drivers/usb/host/libusb_host.o: In function `ehci_td_buffer':
/home/marex/U-Boot/u-boot-imx/drivers/usb/host/ehci-hcd.c:186: undefined reference to `flush_dcache_range'
drivers/usb/host/libusb_host.o: In function `ehci_submit_async':
/home/marex/U-Boot/u-boot-imx/drivers/usb/host/ehci-hcd.c:346: undefined reference to `flush_dcache_range'
/home/marex/U-Boot/u-boot-imx/drivers/usb/host/ehci-hcd.c:348: undefined reference to `flush_dcache_range'
/home/marex/U-Boot/u-boot-imx/drivers/usb/host/ehci-hcd.c:349: undefined reference to `flush_dcache_range'
/home/marex/U-Boot/u-boot-imx/drivers/usb/host/ehci-hcd.c:372: undefined reference to `invalidate_dcache_range'
/home/marex/U-Boot/u-boot-imx/drivers/usb/host/ehci-hcd.c:374: undefined reference to `invalidate_dcache_range'
/home/marex/U-Boot/u-boot-imx/drivers/usb/host/ehci-hcd.c:376: undefined reference to `invalidate_dcache_range'
/home/marex/U-Boot/u-boot-imx/drivers/usb/host/ehci-hcd.c:386: undefined reference to `invalidate_dcache_range'
make: *** [u-boot] Error 1

--------------------- SUMMARY ----------------------------
Boards compiled: 1
Boards with errors: 1 ( MPC8572DS )
----------------------------------------------------------

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Anatolij Gustschin <agust@denx.de>
2012-06-07 23:29:19 +02:00
..
74xx_7xx unify version_string 2011-07-28 17:22:53 +02:00
mpc5xx unify version_string 2011-07-28 17:22:53 +02:00
mpc5xxx usb: replace wait_ms() with mdelay() 2012-03-19 00:08:16 +01:00
mpc8xx net: Encapsulate CDP packet identification 2012-05-23 14:19:23 -05:00
mpc8xxx powerpc/corenet_ds: Slave core in holdoff when boot from SRIO 2012-04-24 23:58:33 -05:00
mpc83xx MPC8xxx: Define cache ops for USB 2012-06-07 23:29:19 +02:00
mpc85xx MPC8xxx: Define cache ops for USB 2012-06-07 23:29:19 +02:00
mpc86xx arch/powerpc/cpu/mpc86xx/cpu.c: Fix GCC 4.6 build warning 2011-12-02 00:16:46 +01:00
mpc512x MPC8xxx: Define cache ops for USB 2012-06-07 23:29:19 +02:00
mpc824x Reduce build times 2011-11-03 20:44:58 +01:00
mpc8220 arch/powerpc/cpu/mpc8220/fec.c: Fix compile warning 2012-05-22 13:41:46 -05:00
mpc8260 net: cosmetic: Un-typedef Ethernet_t 2012-05-23 17:46:14 -05:00
ppc4xx usb: replace wait_ms() with mdelay() 2012-03-19 00:08:16 +01:00