]> git.baikalelectronics.ru Git - uboot.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)
commitb8b879ab5d66dfd0b4b0a0b4fe2781484a7768b7
tree02d76f167ac1ed749c116b919657544c8c4caa27
parent662f61a0d678c0cdf1b11d3b6064a5ad69bb0fa9
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