summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-05-22 01:58:36 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2020-05-25 08:53:44 +0200
commit006fa56bb1a06a59ae13f349602af13faaeb89d5 (patch)
tree34181336006641e55a91fe76aee6a122955a2963 /arch/powerpc
parent5967300fb0eddac17a743a63719b5d58f39c0319 (diff)
downloadbarebox-006fa56bb1a06a59ae13f349602af13faaeb89d5.tar.gz
barebox-006fa56bb1a06a59ae13f349602af13faaeb89d5.tar.xz
powerpc: move ddr-8xxx/ to the relevant Makefile
Directory descending upward is ugly. Move it to the correct Makefile. No functional change is intended because FSL_DDR{2,3} depend on ARCH_MPC85XX. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/Kbuild2
-rw-r--r--arch/powerpc/mach-mpc85xx/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/Kbuild b/arch/powerpc/Kbuild
index 503ce631c0..65e2493386 100644
--- a/arch/powerpc/Kbuild
+++ b/arch/powerpc/Kbuild
@@ -1,2 +1,4 @@
obj-$(CONFIG_ARCH_MPC85XX) += cpu-85xx/
obj-y += lib/
+obj-$(CONFIG_FSL_DDR2) += ddr-8xxx/
+obj-$(CONFIG_FSL_DDR3) += ddr-8xxx/
diff --git a/arch/powerpc/mach-mpc85xx/Makefile b/arch/powerpc/mach-mpc85xx/Makefile
index de4f5efde2..9886c7da45 100644
--- a/arch/powerpc/mach-mpc85xx/Makefile
+++ b/arch/powerpc/mach-mpc85xx/Makefile
@@ -9,6 +9,4 @@ obj-y += fsl_i2c.o
obj-$(CONFIG_MP) += mp.o
obj-$(CONFIG_OFTREE) += fdt.o
obj-$(CONFIG_DRIVER_NET_GIANFAR) += eth-devices.o
-obj-$(CONFIG_FSL_DDR2) += ../ddr-8xxx/
-obj-$(CONFIG_FSL_DDR3) += ../ddr-8xxx/
extra-y += barebox.lds