]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - spl/Makefile
powerpc: mpc85xx: Support booting from SD Card with SPL
[people/ms/u-boot.git] / spl / Makefile
index 02f4860755820c4f26b04869fdb77a41c4f54e00..a9a8564f62c763ee45ef452fc187679978ce1641 100644 (file)
@@ -50,6 +50,9 @@ LIBS-y += arch/powerpc/cpu/mpc8xxx/lib8xxx.o
 endif
 ifeq ($(CPU),mpc85xx)
 LIBS-y += arch/powerpc/cpu/mpc8xxx/lib8xxx.o
+ifdef CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT
+LIBS-y += arch/powerpc/cpu/mpc8xxx/ddr/libddr.o
+endif
 endif
 ifeq ($(CPU),mpc86xx)
 LIBS-y += arch/powerpc/cpu/mpc8xxx/lib8xxx.o