]> git.baikalelectronics.ru Git - uboot.git/commit
fpga: zynqmp: support loading encrypted bitfiles
authorAdrian Fiergolski <adrian.fiergolski@fastree3d.com>
Fri, 22 Jul 2022 14:16:14 +0000 (17:16 +0300)
committerMichal Simek <michal.simek@amd.com>
Tue, 26 Jul 2022 07:34:21 +0000 (09:34 +0200)
commit6a81d2450864db17d3254744a2a01582a2ac8c81
tree11c1dfb7b63801bf0686162c7a079fd8ab0e668b
parentd88b65d8bca6651233f98678f46232a160933c4a
fpga: zynqmp: support loading encrypted bitfiles

Add supporting new compatible string "u-boot,zynqmp-fpga-enc" to
handle loading encrypted bitfiles.

This feature requires encrypted FSBL, as according to UG1085:
"The CSU automatically locks out the AES key, stored in either BBRAM
 or eFUSEs, as a key source to the AES engine if the FSBL is not
 encrypted. This prevents using the BBRAM or eFUSE as the key source
 to the AES engine during run-time applications."

Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
Co-developed-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
Tested-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
Link: https://lore.kernel.org/r/20220722141614.297383-14-oleksandr.suvorov@foundries.io
Signed-off-by: Michal Simek <michal.simek@amd.com>
doc/uImage.FIT/source_file_format.txt
drivers/fpga/zynqmppl.c
include/fpga.h
include/xilinx.h
include/zynqmppl.h