u-boot-brain/arch/powerpc/cpu/mpc83xx
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
..
cache.c MPC8xxx: Define cache ops for USB 2012-06-07 23:29:19 +02:00
config.mk PowerPC: Move -fPIC flag to common place 2011-04-11 21:36:41 +02:00
cpu_init.c mpc83xx: restrict UTMI PHY configuration to 831x parts 2011-04-04 20:23:20 -05:00
cpu.c powerpc 83xx/85xx: Merge lbc upmconfig code 2010-07-16 10:55:09 -05:00
ecc.c powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver 2011-09-29 19:01:06 -05:00
fdt.c mpc832x: add support for the mpc8321 based suvd3 board 2011-04-30 00:44:29 +02:00
interrupts.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
law.c powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver 2011-09-29 19:01:06 -05:00
Makefile MPC8xxx: Define cache ops for USB 2012-06-07 23:29:19 +02:00
nand_init.c 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
pci.c 83xx: Remove warmboot parameter from PCI init functions 2010-09-23 21:14:42 +02:00
pcie.c mpc83xx: fix pcie configuration space read/write 2011-02-05 17:01:52 -06:00
qe_io.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
serdes.c powerpc/mpc83xx: set TXEQA/TXEQE value for mpc837XE sata 2011-12-12 18:33:39 -06:00
spd_sdram.c mpc83xx: spd_sdram - fix gcc 4.6 compiler warning 2011-11-16 21:40:26 +01:00
speed.c powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver 2011-09-29 19:01:06 -05:00
start.S unify version_string 2011-07-28 17:22:53 +02:00
traps.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
u-boot.lds rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00