Get the chipid from ATF using SMC as ATF
is supporting it now.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
regs.regs[2] = 0;
regs.regs[3] = 0;
-/* Uncomment this when you have ATF version which supports this SMC call */
-#if 0
smc_call(®s);
-#endif
return regs.regs[0];
}
#include <xilinx.h>
-#define ZYNQMP_SIP_SVC_CSU_DMA_CHIPID 0x82002007
-
+#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)