aboutsummaryrefslogtreecommitdiff
path: root/include/zynqmppl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/zynqmppl.h')
-rw-r--r--include/zynqmppl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/zynqmppl.h b/include/zynqmppl.h
index 8401a850af..87ccd2f394 100644
--- a/include/zynqmppl.h
+++ b/include/zynqmppl.h
@@ -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_ */