powerpc: mpc85xx: Move SECURE_BOOT to Kconfig
[oweals/u-boot.git] / arch / powerpc / cpu / mpc83xx / Makefile
index d3f700147837aebb6cf5ededc0f8e9a6b3a281ca..a93cf13628a30756d9f07d387ff65467cedf7654 100644 (file)
@@ -35,14 +35,9 @@ obj-$(CONFIG_PCI) += pci.o
 obj-$(CONFIG_PCIE) += pcie.o
 obj-$(CONFIG_OF_LIBFDT) += fdt.o
 
-# Stub implementations of cache management functions for USB
-obj-y += cache.o
-
-ifdef CONFIG_FSL_DDR2
-obj-$(CONFIG_MPC8349) += ../mpc85xx/ddr-gen2.o
-else
+ifndef CONFIG_SYS_FSL_DDRC_GEN2
 obj-y += spd_sdram.o
 endif
-obj-$(CONFIG_FSL_DDR2) += law.o
+obj-$(CONFIG_SYS_FSL_DDR2) += law.o
 
 endif # not minimal