summaryrefslogtreecommitdiff
path: root/include/zynqmppl.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2016-02-01 15:05:58 +0100
committerMichal Simek <michal.simek@xilinx.com>2016-09-22 07:33:21 +0200
commit47e60cbdf8aaa0a2ab0664fb8d12084820276202 (patch)
treea854153112e9cc1ea449ab7ae793cf60696976e8 /include/zynqmppl.h
parent6b2450143882987f4287ea78783866c5f9ac4aff (diff)
downloadu-boot-47e60cbdf8aaa0a2ab0664fb8d12084820276202.tar.gz
u-boot-47e60cbdf8aaa0a2ab0664fb8d12084820276202.tar.bz2
u-boot-47e60cbdf8aaa0a2ab0664fb8d12084820276202.zip
ARM64: zynqmp: Add support for chip ID detection
Chip ID needs to be known for loading bitstream because U-Boot checks ID from bitstream header in BIT format. BIN format is completely unchecked. The chipid is get from ATF via SMC. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/zynqmppl.h')
-rw-r--r--include/zynqmppl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/zynqmppl.h b/include/zynqmppl.h
index 002ee2aabb..542ace9a03 100644
--- a/include/zynqmppl.h
+++ b/include/zynqmppl.h
@@ -10,6 +10,7 @@
#include <xilinx.h>
+#define ZYNQMP_SIP_SVC_CSU_DMA_CHIPID 0xC2000018
#define ZYNQMP_SIP_SVC_PM_FPGA_LOAD 0xC2000016
#define ZYNQMP_FPGA_OP_INIT (1 << 0)
#define ZYNQMP_FPGA_OP_LOAD (1 << 1)