Skip to contentSkip to conversation

powerpc: move ddr-8xxx/ to the relevant Makefile

PATCH Applied Masahiro Yamada 2 participants 2 messages May 21, 2020 – May 25, 2020 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

 arch/powerpc/Kbuild                | 2 ++
 arch/powerpc/mach-mpc85xx/Makefile | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/Kbuild +2 -0
index 503ce631c..65e249338 100644
@@ -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/
arch/powerpc/mach-mpc85xx/Makefile +0 -2
index de4f5efde..9886c7da4 100644
@@ -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
Signature · 7 lines
2.25.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 11 lines · Masahiro Yamada

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.

---

 arch/powerpc/Kbuild                | 2 ++
 arch/powerpc/mach-mpc85xx/Makefile | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

Applied, thanks

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox