summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-zynqmp/sys_proto.h
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>2018-03-01 17:44:47 +0530
committerMichal Simek <michal.simek@xilinx.com>2018-04-09 12:14:50 +0200
commit19ed4b697b9732e0a5097bd233fba7e24dfe9146 (patch)
tree82a8f017cd8f4c66c6ef1b53611a31bddc8214d8 /arch/arm/include/asm/arch-zynqmp/sys_proto.h
parentb32e11a7158063c6cd773087a2b3b5736da0a273 (diff)
fpga: zynqmp: Update zynqmp_load() as per latest xilfpga
Latest xilfpga expects to set BIT5 of flags for nonsecure bitsream and also expects length in bytes instead of words This patch does the same. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'arch/arm/include/asm/arch-zynqmp/sys_proto.h')
-rw-r--r--arch/arm/include/asm/arch-zynqmp/sys_proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-zynqmp/sys_proto.h b/arch/arm/include/asm/arch-zynqmp/sys_proto.h
index ad3dc9aba5..3daf0e81d8 100644
--- a/arch/arm/include/asm/arch-zynqmp/sys_proto.h
+++ b/arch/arm/include/asm/arch-zynqmp/sys_proto.h
@@ -14,6 +14,8 @@
#define ZYNQMP_SIP_SVC_PM_SECURE_IMG_LOAD 0xC200002D
#define KEY_PTR_LEN 32
+#define ZYNQMP_FPGA_BIT_NS 5
+
enum {
IDCODE,
VERSION,