summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-11-11 14:35:56 +0900
committerTom Rini <trini@ti.com>2013-11-17 14:11:31 -0500
commitc54ecaa965211c3f34004031b3574c069402dc8e (patch)
tree9f7f144e41c9692846f42b85d2dcafbb46ad4a7b /arch/powerpc/cpu
parent08e39a8434ff22d3851c1f9326b0e9afa5de0bee (diff)
downloadu-boot-imx-c54ecaa965211c3f34004031b3574c069402dc8e.zip
u-boot-imx-c54ecaa965211c3f34004031b3574c069402dc8e.tar.gz
u-boot-imx-c54ecaa965211c3f34004031b3574c069402dc8e.tar.bz2
powerpc: move mpc8xxx entry under arch/powerpc/cpu/
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/powerpc/cpu')
-rw-r--r--arch/powerpc/cpu/Makefile3
-rw-r--r--arch/powerpc/cpu/mpc8xxx/Makefile6
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/Makefile b/arch/powerpc/cpu/Makefile
new file mode 100644
index 0000000..d630abe
--- /dev/null
+++ b/arch/powerpc/cpu/Makefile
@@ -0,0 +1,3 @@
+ifneq ($(filter mpc83xx mpc85xx mpc86xx,$(CPU)),)
+obj-y += mpc8xxx/
+endif
diff --git a/arch/powerpc/cpu/mpc8xxx/Makefile b/arch/powerpc/cpu/mpc8xxx/Makefile
index 395fed1..1d083bf 100644
--- a/arch/powerpc/cpu/mpc8xxx/Makefile
+++ b/arch/powerpc/cpu/mpc8xxx/Makefile
@@ -31,3 +31,9 @@ obj-$(CONFIG_SYS_SRIO) += srio.o
obj-$(CONFIG_FSL_LAW) += law.o
endif
+
+ifdef CONFIG_SPL_BUILD
+obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/
+else
+obj-y += ddr/
+endif