u-boot/arch/arm/cpu
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
..
arm720t Tegra114: Do not program CPCON field for PLLX 2013-12-18 10:19:48 -07:00
arm920t arm920t: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
arm926ejs at91: switch coloured LED to gpio API 2013-12-09 13:21:47 +01:00
arm946es ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
arm1136 ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
arm1176 ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
arm_intcm ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
armv7 Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-01-10 10:56:00 -05:00
armv8 arm64: core support 2014-01-09 16:08:44 +01:00
at91-common arm926ejs, at91: add common phy_reset function 2013-12-01 22:38:52 +01:00
ixp arm: keep all sections in ELF file 2013-12-07 06:53:58 +01:00
pxa ARM: pxa: Fix OneNAND SPL builds 2014-01-13 12:39:10 +01:00
sa1100 ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
tegra-common ARM: tegra: support SKU b1 of Tegra30 2013-12-18 10:19:48 -07:00
tegra20-common ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
tegra30-common ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
tegra114-common ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
Makefile arm: atmel: add ddr2 initialization function 2013-12-01 22:38:47 +01:00
u-boot-spl.lds arm: keep all sections in ELF file 2013-12-07 06:53:58 +01:00
u-boot.lds arm: keep all sections in ELF file 2013-12-07 06:53:58 +01:00