]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: mkimage: Add support for initialization table for Zynq and ZynqMP
authorMike Looijmans <mike.looijmans@topic.nl>
Tue, 20 Sep 2016 09:37:24 +0000 (11:37 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 15 Nov 2016 14:27:37 +0000 (15:27 +0100)
commit3b6460809c2a28360029c1c48247648fac4455c9
tree02d76f167ac1ed749c116b919657544c8c4caa27
parent29e0cfb4f77f7aa369136302cee14a91e22dca71
tools: mkimage: Add support for initialization table for Zynq and ZynqMP

The Zynq/ZynqMP boot.bin file contains a region for register initialization
data. Filling in proper values in this table can reduce boot time
(e.g. about 50ms faster on QSPI boot) and also reduce the size of
the SPL binary.

The table is a simple text file with register+data on each line. Other
lines are simply skipped. The file can be passed to mkimage using the
"-R" parameter.

It is recommended to add reg init file to board folder.
For example:
CONFIG_BOOT_INIT_FILE="board/xilinx/zynqmp/xilinx_zynqmp_zcu102/reg.int

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv8/zynqmp/Kconfig
arch/arm/mach-zynq/Kconfig
scripts/Makefile.spl
tools/zynqimage.c
tools/zynqmpimage.c