fpga: zynqmp: support loading authenticated images
Add supporting new compatible string "u-boot,zynqmp-fpga-ddrauth" to handle loading authenticated images (DDR). Based on solution by Jorge Ramirez-Ortiz <jorge@foundries.io> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io> Tested-by: Ricardo Salveti <ricardo@foundries.io> Link: https://lore.kernel.org/r/20220722141614.297383-13-oleksandr.suvorov@foundries.io Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
committed by
Michal Simek
parent
5ab6a84634
commit
a3a1afb747
@@ -39,6 +39,7 @@ typedef enum { /* typedef xilinx_family */
|
||||
|
||||
/* FPGA bitstream supported types */
|
||||
#define FPGA_LEGACY BIT(0)
|
||||
#define FPGA_XILINX_ZYNQMP_DDRAUTH BIT(1)
|
||||
|
||||
typedef struct { /* typedef xilinx_desc */
|
||||
xilinx_family family; /* part type */
|
||||
|
||||
@@ -25,6 +25,10 @@
|
||||
|
||||
extern struct xilinx_fpga_op zynqmp_op;
|
||||
|
||||
#if CONFIG_IS_ENABLED(FPGA_LOAD_SECURE)
|
||||
#define ZYNQMP_FPGA_FLAGS (FPGA_LEGACY | FPGA_XILINX_ZYNQMP_DDRAUTH)
|
||||
#else
|
||||
#define ZYNQMP_FPGA_FLAGS (FPGA_LEGACY)
|
||||
#endif
|
||||
|
||||
#endif /* _ZYNQMPPL_H_ */
|
||||
|
||||
Reference in New Issue
Block a user