diff options
author | Mike Looijmans <mike.looijmans@topic.nl> | 2016-09-20 11:37:24 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-11-15 15:27:37 +0100 |
commit | 3b6460809c2a28360029c1c48247648fac4455c9 (patch) | |
tree | 02d76f167ac1ed749c116b919657544c8c4caa27 /scripts | |
parent | 29e0cfb4f77f7aa369136302cee14a91e22dca71 (diff) | |
download | u-boot-3b6460809c2a28360029c1c48247648fac4455c9.zip u-boot-3b6460809c2a28360029c1c48247648fac4455c9.tar.gz u-boot-3b6460809c2a28360029c1c48247648fac4455c9.tar.bz2 |
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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.spl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index e0b0117..03a2f06 100644 --- a/scripts/Makefile.spl +++ b/scripts/Makefile.spl @@ -146,10 +146,10 @@ boot.bin: $(obj)/u-boot-spl.bin FORCE $(call if_changed,mkimage) else ifdef CONFIG_ARCH_ZYNQ -MKIMAGEFLAGS_boot.bin = -T zynqimage +MKIMAGEFLAGS_boot.bin = -T zynqimage -R $(srctree)/$(CONFIG_BOOT_INIT_FILE) endif ifdef CONFIG_ARCH_ZYNQMP -MKIMAGEFLAGS_boot.bin = -T zynqmpimage +MKIMAGEFLAGS_boot.bin = -T zynqmpimage -R $(srctree)/$(CONFIG_BOOT_INIT_FILE) endif spl/boot.bin: $(obj)/u-boot-spl.bin FORCE |