aboutsummaryrefslogtreecommitdiff
path: root/include/xilinx.h
diff options
context:
space:
mode:
authorAdrian Fiergolski2022-07-22 17:16:14 +0300
committerMichal Simek2022-07-26 09:34:21 +0200
commitb524f8fb1e94a8e649ba06a7cb87e6dcaa96ebc3 (patch)
tree11c1dfb7b63801bf0686162c7a079fd8ab0e668b /include/xilinx.h
parenta3a1afb747d4d71c3dd5ba01b2796cebd65c65cd (diff)
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>
Diffstat (limited to 'include/xilinx.h')
-rw-r--r--include/xilinx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xilinx.h b/include/xilinx.h
index 97ee12cec42..e4e29797988 100644
--- a/include/xilinx.h
+++ b/include/xilinx.h
@@ -40,6 +40,7 @@ typedef enum { /* typedef xilinx_family */
/* FPGA bitstream supported types */
#define FPGA_LEGACY BIT(0)
#define FPGA_XILINX_ZYNQMP_DDRAUTH BIT(1)
+#define FPGA_XILINX_ZYNQMP_ENC BIT(2)
typedef struct { /* typedef xilinx_desc */
xilinx_family family; /* part type */