summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2016-04-27 14:03:29 +0200
committerMichal Simek <michal.simek@xilinx.com>2016-05-24 11:15:01 +0200
commitd9b58b303120fb8fe0b7c9799e2b7682da4bec16 (patch)
treef8e415232fe87eaacee3c296008e06b65fb02f7b /scripts
parent8d16e1d5931bb1323ef5307204563b7afcb3b6c3 (diff)
downloadtalos-obmc-uboot-d9b58b303120fb8fe0b7c9799e2b7682da4bec16.tar.gz
talos-obmc-uboot-d9b58b303120fb8fe0b7c9799e2b7682da4bec16.zip
tools: zynqmpimage: Add Xilinx ZynqMP boot header generation
Add support for the zynqmpimage to mkimage. Only basic functionality is supported without encryption and register initialization with one partition which is filled by U-Boot SPL. For more detail information look at Xilinx ZynqMP TRM. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.spl7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index ec8d8f1b72..6d2017da7e 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -129,7 +129,12 @@ endif
boot.bin: $(obj)/u-boot-spl.bin FORCE
$(call if_changed,mkimage)
else
+ifdef CONFIG_ARCH_ZYNQ
MKIMAGEFLAGS_boot.bin = -T zynqimage
+endif
+ifdef CONFIG_ARCH_ZYNQMP
+MKIMAGEFLAGS_boot.bin = -T zynqmpimage
+endif
spl/boot.bin: $(obj)/u-boot-spl.bin FORCE
$(call if_changed,mkimage)
@@ -157,6 +162,8 @@ ifdef CONFIG_ARCH_ZYNQ
ALL-y += $(obj)/boot.bin
endif
+ALL-(CONFIG_ARCH_ZYNQMP) += $(obj)/boot.bin
+
all: $(ALL-y)
quiet_cmd_cat = CAT $@
OpenPOWER on IntegriCloud