arm64: zynqmp: Make chip_id routine to handle based on el.
Modify chip_id() routine such that to handle based on the current el. Also make it available even if FPGA is not enabled in system such it can be used always. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
committed by
Michal Simek
parent
f52bf5a3dd
commit
74ba69db35
@@ -144,4 +144,7 @@ struct pmu_regs {
|
||||
|
||||
#define pmu_base ((struct pmu_regs *)ZYNQMP_PMU_BASEADDR)
|
||||
|
||||
#define ZYNQMP_CSU_IDCODE_ADDR 0xFFCA0040
|
||||
#define ZYNQMP_CSU_VER_ADDR 0xFFCA0044
|
||||
|
||||
#endif /* _ASM_ARCH_HARDWARE_H */
|
||||
|
||||
Reference in New Issue
Block a user