diff options
author | Andrew F. Davis <afd@ti.com> | 2019-04-12 12:54:46 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-04-26 17:51:51 -0400 |
commit | 508369672ca3bc32806b70b5189f18a257e91baf (patch) | |
tree | ecaaa02fe00403cc65c2a85ad9bb78075f7d6cec /tools/k3_fit_atf.sh | |
parent | 3a543a8084aabae5b31b9858525cbe507d2c67fb (diff) | |
download | u-boot-508369672ca3bc32806b70b5189f18a257e91baf.tar.gz |
arm: mach-k3: Add secure device build support
K3 HS devices require signed binaries for boot, use the SECDEV tools
to sign the boot artifacts during build.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Andreas Dannenberg <dannenberg@ti.com>
Diffstat (limited to 'tools/k3_fit_atf.sh')
-rwxr-xr-x | tools/k3_fit_atf.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/k3_fit_atf.sh b/tools/k3_fit_atf.sh index 430b5ca616..4e9f69c087 100755 --- a/tools/k3_fit_atf.sh +++ b/tools/k3_fit_atf.sh @@ -21,6 +21,10 @@ if [ ! -f $TEE ]; then TEE=/dev/null fi +if [ ! -z "$IS_HS" ]; then + HS_APPEND=_HS +fi + cat << __HEADER_EOF /dts-v1/; @@ -51,7 +55,7 @@ cat << __HEADER_EOF }; spl { description = "SPL (64-bit)"; - data = /incbin/("spl/u-boot-spl-nodtb.bin"); + data = /incbin/("spl/u-boot-spl-nodtb.bin$HS_APPEND"); type = "standalone"; os = "U-Boot"; arch = "arm64"; @@ -66,7 +70,7 @@ do cat << __FDT_IMAGE_EOF $(basename $dtname) { description = "$(basename $dtname .dtb)"; - data = /incbin/("$dtname"); + data = /incbin/("$dtname$HS_APPEND"); type = "flat_dt"; arch = "arm"; compression = "none"; |