diff options
author | Michal Simek | 2020-09-10 12:57:16 +0200 |
---|---|---|
committer | Michal Simek | 2020-09-23 10:31:41 +0200 |
commit | a798b8aaf322f5c7818a1d963d63b7516dd5056f (patch) | |
tree | 6e3eda103a0318a45ef45c4e82d5580a3523900c /drivers/fpga | |
parent | 29bd8ada52e186ea6b7f8b633d7aa6296fb097d1 (diff) |
fpga: zynqmp: Protect zynqmp_loads() for SPL
if conditions should match.
Fixes: a18d09ea384f ("fpga: zynqmp: Add secure bitstream loading for ZynqMP")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/fpga')
-rw-r--r-- | drivers/fpga/zynqmppl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga/zynqmppl.c index 03878d32ec1..8ce140a2e1a 100644 --- a/drivers/fpga/zynqmppl.c +++ b/drivers/fpga/zynqmppl.c @@ -305,7 +305,7 @@ static int zynqmp_pcap_info(xilinx_desc *desc) struct xilinx_fpga_op zynqmp_op = { .load = zynqmp_load, -#if defined CONFIG_CMD_FPGA_LOAD_SECURE +#if defined(CONFIG_CMD_FPGA_LOAD_SECURE) && !defined(CONFIG_SPL_BUILD) .loads = zynqmp_loads, #endif .info = zynqmp_pcap_info, |