summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/ppc4xx/Makefile
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2013-04-02 08:37:04 (GMT)
committerStefan Roese <sr@denx.de>2013-04-22 07:53:53 (GMT)
commit98f99e9f16462fa07ad0b0cd0c7c0d2623a6da87 (patch)
treedbf58d15ff6266907889a789dd430a670fced481 /arch/powerpc/cpu/ppc4xx/Makefile
parentd10f68ae47b67acab8b110b5c605dde4197a1820 (diff)
downloadu-boot-98f99e9f16462fa07ad0b0cd0c7c0d2623a6da87.tar.xz
ppc4xx: Add SPL support
This patch adds SPL booting support (NOR flash) for the PPC4xx platforms. This SPL booting (Falcon mode) will be used by the upcoming lcd4_lwmon5 board port (lwmon5 variant). Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/powerpc/cpu/ppc4xx/Makefile')
-rw-r--r--arch/powerpc/cpu/ppc4xx/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/ppc4xx/Makefile b/arch/powerpc/cpu/ppc4xx/Makefile
index 8da2f86..e301dc6 100644
--- a/arch/powerpc/cpu/ppc4xx/Makefile
+++ b/arch/powerpc/cpu/ppc4xx/Makefile
@@ -68,6 +68,10 @@ COBJS += miiphy.o
COBJS += uic.o
endif
+ifdef CONFIG_SPL_BUILD
+COBJS-y += spl_boot.o
+endif
+
SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS) $(COBJS-y))
START := $(addprefix $(obj),$(START))