summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-11-11 14:36:06 +0900
committerTom Rini <trini@ti.com>2013-11-17 14:11:33 -0500
commit5cdee2d41ad4a1a351d50dc7af6d7ff3db549006 (patch)
tree6ace5843ec54b415ad47d546202082d8f73ee66c
parentc64c5aa56ab0225a57d52152e76b6d17f751ae83 (diff)
downloadu-boot-imx-5cdee2d41ad4a1a351d50dc7af6d7ff3db549006.zip
u-boot-imx-5cdee2d41ad4a1a351d50dc7af6d7ff3db549006.tar.gz
u-boot-imx-5cdee2d41ad4a1a351d50dc7af6d7ff3db549006.tar.bz2
powerpc: mpc83xx: Do not create a symbolic link to ddr-gen2.c
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
-rw-r--r--Makefile1
-rw-r--r--arch/powerpc/cpu/mpc83xx/Makefile6
2 files changed, 1 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 5ad2bd7..4f5a1ac 100644
--- a/Makefile
+++ b/Makefile
@@ -861,7 +861,6 @@ clobber: tidy
@rm -f $(obj)SPL
@rm -f $(obj)tools/xway-swap-bytes
@rm -f $(obj)arch/powerpc/cpu/mpc824x/bedbug_603e.c
- @rm -f $(obj)arch/powerpc/cpu/mpc83xx/ddr-gen?.c
@rm -fr $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
@rm -fr $(obj)include/generated
@[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -name "*" -type l -print | xargs rm -f
diff --git a/arch/powerpc/cpu/mpc83xx/Makefile b/arch/powerpc/cpu/mpc83xx/Makefile
index a501a3b..d3f7001 100644
--- a/arch/powerpc/cpu/mpc83xx/Makefile
+++ b/arch/powerpc/cpu/mpc83xx/Makefile
@@ -39,14 +39,10 @@ obj-$(CONFIG_OF_LIBFDT) += fdt.o
obj-y += cache.o
ifdef CONFIG_FSL_DDR2
-obj-$(CONFIG_MPC8349) += ddr-gen2.o
-SRCS += $(obj)ddr-gen2.c
+obj-$(CONFIG_MPC8349) += ../mpc85xx/ddr-gen2.o
else
obj-y += spd_sdram.o
endif
obj-$(CONFIG_FSL_DDR2) += law.o
endif # not minimal
-
-$(obj)ddr-gen2.c:
- ln -sf $(SRCTREE)/arch/powerpc/cpu/mpc85xx/ddr-gen2.c $(obj)ddr-gen2.c