mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 07:31:15 +00:00
25315683fd
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> |
||
---|---|---|
.. | ||
cache.c | ||
cmd_errata.c | ||
commproc.c | ||
config.mk | ||
cpu.c | ||
cpu_init.c | ||
cpu_init_early.c | ||
cpu_init_nand.c | ||
ddr-gen1.c | ||
ddr-gen2.c | ||
ddr-gen3.c | ||
ether_fcc.c | ||
fdt.c | ||
fixed_ivor.S | ||
fsl_corenet_serdes.c | ||
fsl_corenet_serdes.h | ||
interrupts.c | ||
liodn.c | ||
Makefile | ||
mp.c | ||
mp.h | ||
mpc8536_serdes.c | ||
mpc8544_serdes.c | ||
mpc8548_serdes.c | ||
mpc8568_serdes.c | ||
mpc8569_serdes.c | ||
mpc8572_serdes.c | ||
p1010_serdes.c | ||
p1021_serdes.c | ||
p1022_serdes.c | ||
p1023_serdes.c | ||
p2020_serdes.c | ||
p2041_ids.c | ||
p2041_serdes.c | ||
p3041_ids.c | ||
p3041_serdes.c | ||
p3060_ids.c | ||
p3060_serdes.c | ||
p4080_ids.c | ||
p4080_serdes.c | ||
p5020_ids.c | ||
p5020_serdes.c | ||
pci.c | ||
portals.c | ||
qe_io.c | ||
release.S | ||
resetvec.S | ||
serial_scc.c | ||
speed.c | ||
start.S | ||
tlb.c | ||
traps.c | ||
u-boot-nand.lds | ||
u-boot-nand_spl.lds | ||
u-boot.lds |