summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/ppc4xx/u-boot.lds
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2013-04-02 10:37:04 +0200
committerStefan Roese <sr@denx.de>2013-04-22 09:53:53 +0200
commit98f99e9f16462fa07ad0b0cd0c7c0d2623a6da87 (patch)
treedbf58d15ff6266907889a789dd430a670fced481 /arch/powerpc/cpu/ppc4xx/u-boot.lds
parentd10f68ae47b67acab8b110b5c605dde4197a1820 (diff)
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/u-boot.lds')
-rw-r--r--arch/powerpc/cpu/ppc4xx/u-boot.lds2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/ppc4xx/u-boot.lds b/arch/powerpc/cpu/ppc4xx/u-boot.lds
index 06010d6b14..e994f02122 100644
--- a/arch/powerpc/cpu/ppc4xx/u-boot.lds
+++ b/arch/powerpc/cpu/ppc4xx/u-boot.lds
@@ -96,6 +96,7 @@ SECTIONS
. = ALIGN(256);
__init_end = .;
+#ifndef CONFIG_SPL
#ifdef CONFIG_440
.bootpg RESET_VECTOR_ADDRESS - 0xffc :
{
@@ -132,6 +133,7 @@ SECTIONS
#if (RESET_VECTOR_ADDRESS == 0xfffffffc)
. |= 0x10;
#endif
+#endif /* CONFIG_SPL */
__bss_start = .;
.bss (NOLOAD) :