u-boot-brain/arch/arm/include/asm
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
..
arch-am33xx ARM: AM33xx: Add support for Clock Synthesizer 2016-05-27 15:47:52 -04:00
arch-armada100
arch-armv7
arch-bcm281xx arm/arm64: implement a boot header capability 2016-06-06 13:39:19 -04:00
arch-bcmcygnus configs: Re-sync with cmd/Kconfig 2016-04-25 15:09:47 -04:00
arch-bcmnsp
arch-ep93xx
arch-fsl-layerscape armv8: fsl-layerscape: Add support of QorIQ LS1012A SoC 2016-06-03 14:12:50 -07:00
arch-hi6220 driver: gpio: hikey: Fix pointer conversion warnings for hikey 2015-11-12 15:58:59 -05:00
arch-imx mx7: Distinguish between dual and solo versions 2016-03-09 12:50:39 +01:00
arch-lpc32xx arm: lpc32xx: switch SPL builds to driver model 2016-01-13 21:05:22 -05:00
arch-ls102xa Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq 2016-05-24 13:42:03 -04:00
arch-meson arm: meson: implement calls to secure monitor 2016-05-27 15:39:47 -04:00
arch-mvebu spi: kirkwood_spi: Add support for multiple chip-selects on MVEBU 2016-04-06 15:38:56 +02:00
arch-mx5
arch-mx6 Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq 2016-05-24 13:42:03 -04:00
arch-mx7 Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq 2016-05-24 13:42:03 -04:00
arch-mx25
arch-mx27 mx27: 16-bit wide watchdog registers 2016-03-25 14:03:28 +01:00
arch-mx31
arch-mx35
arch-mxs
arch-omap3 ARM: omap-common: Add device type to CPU string 2016-05-27 15:41:37 -04:00
arch-omap4 omap4: Reboot mode support 2016-03-15 15:12:53 -04:00
arch-omap5 arm: omap: Introduce vcores_init function 2016-06-02 21:42:18 -04:00
arch-orion5x
arch-pxa
arch-rmobile Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
arch-rockchip rockchip: rk3288: grf: Define GRF_SOC_CON1 and GRF_SOC_CON3 2016-05-27 09:00:48 -06:00
arch-s3c24x0
arch-sa1100
arch-spear
arch-stm32f1 gpio: stm32_gpio: move base addresses to the soc file 2016-02-24 18:42:50 -05:00
arch-stm32f4 stm32: stm32f4: move flash driver to mtd driver location 2016-03-26 18:49:28 -04:00
arch-stm32f7 stm32f746-disco: enable flash support 2016-03-26 18:49:28 -04:00
arch-stv0991
arch-sunxi arm/arm64: implement a boot header capability 2016-06-06 13:39:19 -04:00
arch-tegra mmc: tegra: add basic Tegra186 support 2016-05-31 11:22:59 -07:00
arch-tegra20 ARM: tegra: use DT bindings for GPIO naming 2016-05-31 09:53:56 -07:00
arch-tegra30 ARM: tegra: use DT bindings for GPIO naming 2016-05-31 09:53:56 -07:00
arch-tegra114 Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
arch-tegra124 ARM: tegra: use DT bindings for GPIO naming 2016-05-31 09:53:56 -07:00
arch-tegra186 ARM: tegra: add core Tegra186 support 2016-05-31 11:22:59 -07:00
arch-tegra210 ARM: tegra: use DT bindings for GPIO naming 2016-05-31 09:53:56 -07:00
arch-vf610 colibri-vf: Disable pull-up configuration in GPIO pin mux 2016-03-02 14:47:16 +01:00
arch-zynqmp ARM64: zynqmp: Add SPL support support 2016-05-24 11:15:01 +02:00
armv8 arm64: Remove non-full-va map code 2016-03-15 15:13:10 -04:00
imx-common dm: i2c: mxc_i2c: implement i2c_idle_bus 2016-03-28 09:22:58 +02:00
iproc-common
kona-common
proc-armv
ti-common Fix to davinci_nand.h to place CEnCFG registers at correct 2016-06-06 13:39:12 -04:00
armv7.h arm/arm64: Move barrier instructions into separate header 2016-05-12 11:13:03 -04:00
armv7m.h
assembler.h arm: include: Import unified.h from Linux kernel 2016-06-02 21:21:43 -04:00
atomic.h arm, ubifs: fix gcc5.x compiler warning 2016-01-20 10:03:58 -05:00
barriers.h arm/arm64: Move barrier instructions into separate header 2016-05-12 11:13:03 -04:00
bitops.h arm, ubifs: fix gcc5.x compiler warning 2016-01-20 10:03:58 -05:00
bootm.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
byteorder.h armv8: Use __aarch64__ rather than CONFIG_ARM64 in some cases 2014-01-10 10:10:23 +01:00
cache.h
config.h
davinci_rtc.h am33xx, davinci: Create and use <asm/davinci_rtc.h> 2013-11-01 15:30:22 -04:00
dma-mapping.h
ehci-omap.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
emif.h ARM: DRA7: DDR: Enable SR in Power Management Control 2016-03-15 21:30:19 -04:00
errno.h
fsl_secure_boot.h armv8: LS2080A: Consolidate LS2080A and LS2085A 2016-04-06 10:26:46 -07:00
gic.h
global_data.h arm64: Remove non-full-va map code 2016-03-15 15:13:10 -04:00
gpio.h gpio: do not include <asm/arch/gpio.h> for UniPhier 2016-02-29 03:50:15 +09:00
hardware.h
io.h arm: add missing writes[bwql], reads[bwql]. 2016-04-10 17:18:41 +02:00
linkage.h
mach-types.h
macro.h
memory.h
omap_common.h dra7xx: Enable USB_PHY3 32KHz clock 2016-06-02 21:42:15 -04:00
omap_gpio.h
omap_mmc.h
omap_musb.h
pl310.h
posix_types.h
processor.h
psci.h arm: implement generic PSCI reset call for armv8 2016-05-27 15:39:46 -04:00
ptrace.h
sections.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
secure.h
setjmp.h arm: Introduce setjmp/longjmp 2016-06-06 13:39:15 -04:00
setup.h
spl.h spl: define BOOT_DEVICE_USB 2016-02-14 16:36:13 +09:00
string.h
system.h arm: implement generic PSCI reset call for armv8 2016-05-27 15:39:46 -04:00
types.h ARM: asm: types: Introduce DMA_ADDR_T_64BIT 2016-03-27 09:13:03 -04:00
u-boot-arm.h
u-boot.h
unaligned.h
unified.h arm: include: Import unified.h from Linux kernel 2016-06-02 21:21:43 -04:00
utils.h