]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
MPC83xx, MPC85xx: compile stub cache function
authorStefano Babic <sbabic@denx.de>
Thu, 19 Jul 2012 23:00:02 +0000 (23:00 +0000)
committerWolfgang Denk <wd@denx.de>
Sat, 21 Jul 2012 21:37:48 +0000 (23:37 +0200)
An empty flush_dcache_range() was added into MPC83xx and MPC85xx to
work with drivers shared with other architecture.  However, it is
compiled only if USB is set, but it is required for other drivers
(FSL_ESDHC), too.

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Andy Fleming <afleming@gmail.com>
CC: Dirk Behme <dirk.behme@de.bosch.com>
CC: Marek Vasut <marex@denx.de>
CC: Wolfgang Denk <wd@denx.de>
Added MPC83xx version.

Signed-off-by: Wolfgang Denk <wd@denx.de>
arch/powerpc/cpu/mpc83xx/Makefile
arch/powerpc/cpu/mpc85xx/Makefile

index 012ab6b0207e2be87296c66448eea079bf71f59f..687f5e90a4d5f6dcdce3236db3a7a779cba5ba96 100644 (file)
@@ -42,7 +42,7 @@ COBJS-$(CONFIG_PCIE) += pcie.o
 COBJS-$(CONFIG_OF_LIBFDT) += fdt.o
 
 # Stub implementations of cache management functions for USB
-COBJS-$(CONFIG_USB_EHCI) += cache.o
+COBJS-y += cache.o
 
 ifdef CONFIG_FSL_DDR2
 COBJS_LN-$(CONFIG_MPC8349) += ddr-gen2.o
index 7d65aa7363c09d5d7027235333aa89f23b553992..34f6c5469847316935861e2ed8b0f52b8b7cf45c 100644 (file)
@@ -131,7 +131,7 @@ COBJS       += tlb.o
 COBJS  += traps.o
 
 # Stub implementations of cache management functions for USB
-COBJS-$(CONFIG_USB_EHCI) += cache.o
+COBJS += cache.o
 
 SRCS   := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS))