u-boot/arch
Marek Vasut 67decc71ed ARM: pxa: Fix OneNAND SPL builds
The OneNAND SPL used on PXA is slightly obscure. Due to the OneNAND limitation,
where we have only the first 1KiB of the OneNAND available upon power-up as a
memory-mapped area, from which the CPU starts executing, we place only the most
essential code into this first 1KiB . This code copies the rest of the SPL into
SRAM and jumps to it. This code is stored in section .text.0 .

The rest of the SPL is stored in section .text.1 . When running the OBJCOPY on
the SPL, it will preserve only .text section, but the .text.0 and .text.1 are
stripped away from the result, thus making the SPL binary empty. The patch adds
additional -j parameters to the OBJCOPY for PXA during the SPL build, which will
preserve the .text.0 and .text.1 sections.

Moreover, this patch also adds missing functions into the .text.0 section, since
otherwise the PXA270 with 1KiB-window OneNAND won't be able to boot.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Tom Rini <trini@ti.com>
2014-01-13 12:39:10 +01:00
..
arm ARM: pxa: Fix OneNAND SPL builds 2014-01-13 12:39:10 +01:00
avr32 avr32: convert makefiles to Kbuild style 2013-10-31 13:26:45 -04:00
blackfin Merge branch 'master' of git://git.denx.de/u-boot-blackfin 2013-12-16 09:13:25 -05:00
m68k include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
microblaze Makefile: rename all libraries to built-in.o 2013-11-17 14:11:32 -05:00
mips malta: enable PIIX4 SERIRQ 2013-11-26 21:49:34 +01:00
nds32 nds32: convert makefiles to Kbuild style 2013-11-01 11:42:11 -04:00
nios2 nios2: convert makefiles to Kbuild style 2013-11-01 11:42:11 -04:00
openrisc openrisc: convert makefiles to Kbuild style 2013-10-31 13:26:45 -04:00
powerpc powerpc/t208x: fix macro CONFIG_SYS_FSL_NUM_USB_CTRLS 2014-01-02 14:10:13 -08:00
sandbox sandbox: Add a prototype for cleanup_before_linux() 2014-01-08 17:26:01 -07:00
sh sh: sh2: Remove CONFIG_SH2A definition from asm/processor.h 2014-01-09 13:22:22 +09:00
sparc sparc: Correct arch/sparc/cpu/leon3/start.S from SPDX conversion 2013-11-25 10:41:55 -05:00
x86 cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00