u-boot/arch/arm/cpu/armv8
Andre Przywara cdaa633fcf arm/arm64: implement a boot header capability
Some SPL loaders (like Allwinner's boot0, and Broadcom's boot0)
require a header before the actual U-Boot binary to both check its
validity and to find other data to load. Sometimes this header may
only be a few bytes of information, and sometimes this might simply
be space that needs to be reserved for a post-processing tool.

Introduce a config option to allow assembler preprocessor commands
to be inserted into the code at the appropriate location; typical
assembler preprocessor commands might be:
  .space 1000
  .word 0x12345678

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Steve Rae <srae@broadcom.com>
Commit Notes:
Please note that the current code:
  start.S (arm64) and
  vectors.S (arm)
already jumps over some portion of data already, so this option basically
just increases the size of this region (and the resulting binary).

For use with Allwinner's boot0 blob there is a tool called boot0img[1],
which fills the header to allow booting A64 based boards.
For the Pine64 we need a 1536 byte header (including the branch
instruction) at the moment, so we add this to the defconfig.

[1] https://github.com/apritzel/pine64/tree/master/tools
END
Reviewed-by: Tom Rini <trini@konsulko.com>
2016-06-06 13:39:19 -04:00
..
fsl-layerscape armv8: fsl-layerscape: Add support of QorIQ LS1012A SoC 2016-06-03 14:12:50 -07:00
hisilicon hisilicon: hi6220: Add a hi6220 pinmux driver. 2015-08-12 20:48:00 -04:00
zynqmp ARM64: zynqmp: Extend page_table_size 2016-06-06 11:23:27 +02:00
cache.S arm64: rename __asm_flush_dcache_level to __asm_dcache_level 2016-05-27 15:47:55 -04:00
cache_v8.c arm64: Fix layerscape mmu setup 2016-03-21 12:42:10 -07:00
config.mk ARM: move -march=* and -mtune= options to arch/arm/Makefile 2015-03-27 16:55:22 +01:00
cpu.c arm64: core support 2014-01-09 16:08:44 +01:00
exceptions.S arm64: Allow exceptions to return 2016-03-15 21:30:10 -04:00
fwcall.c arm: implement generic PSCI reset call for armv8 2016-05-27 15:39:46 -04:00
generic_timer.c armv8: define usec2ticks function 2015-12-15 08:57:34 +08:00
Kconfig Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
Makefile armv8: Add Secure Monitor/Hypervisor Call (SMC/HVC) infrastructure 2016-01-19 22:25:36 +00:00
start.S arm/arm64: implement a boot header capability 2016-06-06 13:39:19 -04:00
tlb.S remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
transition.S remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
u-boot-spl.lds arm64: define _image_binary_end to fix SPL_OF_CONTROL 2016-03-14 19:18:52 -04:00
u-boot.lds efi_loader: Add runtime services 2016-03-15 18:03:10 -04:00