u-boot-brain/arch/arm
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
..
cpu arm/arm64: implement a boot header capability 2016-06-06 13:39:19 -04:00
dts Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze 2016-06-06 07:16:39 -04:00
imx-common imx: imx-common: print i.MX 7 SoC names consistently 2016-05-17 17:52:20 +02:00
include arm/arm64: implement a boot header capability 2016-06-06 13:39:19 -04:00
lib arm/arm64: implement a boot header capability 2016-06-06 13:39:19 -04:00
mach-at91 ARM: sama5d2: Implement boot device autodetection 2016-05-24 08:08:37 +02:00
mach-bcm283x rpi: remove redundant board files 2016-04-11 20:48:23 -04:00
mach-davinci arm: Add support for LEGO MINDSTORMS EV3 2016-03-14 19:18:40 -04:00
mach-exynos Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator integrator: switch to DM serial port 2015-08-12 20:47:49 -04:00
mach-keystone ARM: k2g: Configure reset mux to device reset 2016-06-02 21:42:19 -04:00
mach-kirkwood configs: Re-sync with cmd/Kconfig 2016-04-25 15:09:47 -04:00
mach-meson arm: meson: implement calls to secure monitor 2016-05-27 15:39:47 -04:00
mach-mvebu configs: Re-sync with cmd/Kconfig 2016-04-25 15:09:47 -04:00
mach-orion5x Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mach-rockchip dm: rockchip: Enable CONFIG_BLK 2016-05-27 10:23:10 -06:00
mach-s5pc1xx arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00
mach-snapdragon Rename reset to sysreset 2016-05-26 20:48:31 -06:00
mach-socfpga arm: socfpga: Add samtec VIN|ING board 2016-06-01 22:44:14 +02:00
mach-stm32 stm32: stm32f4: move flash driver to mtd driver location 2016-03-26 18:49:28 -04:00
mach-sunxi sunxi: Properly announce BOOT_DEVICE_BOARD as "FEL" 2016-05-25 17:52:39 +02:00
mach-tegra ARM: tegra: add p2771-0000 board support 2016-05-31 11:22:59 -07:00
mach-uniphier ARM: uniphier: add PH1-LD11 SoC support 2016-05-26 00:37:13 +09:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq ARM: zynq: Simplify zynq configuration 2016-05-24 13:22:50 +02:00
thumb1/include/asm/proc-armv arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
config.mk arm: clang: Update support slightly 2016-04-01 17:17:39 -04:00
Kconfig arm/arm64: implement a boot header capability 2016-06-06 13:39:19 -04:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile arm: Treat arm946es as v5te 2016-06-02 21:21:34 -04:00