summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Funke <lukas.funke@weidmueller.com>2023-09-15 11:39:01 +0200
committerMichal Simek <michal.simek@amd.com>2023-09-21 13:20:11 +0200
commit1ae4a07c2bac18663b2cff003b360256bbb758dc (patch)
treec035025128d36714ac6a06cdf3a463b21e81c923
parente6ff998cb02aad0326a8280498725a8e7bbbb37b (diff)
arm64: zynqmp: Corrected pcap_prog register address
Currently the pcap_prog struct variable is pointing to 0x3004 which is incorrect according to [1]. The variable should point to 0x3000. [1] https://www.xilinx.com/htmldocs/registers/ug1087/ug1087-zynq-ultrascale-registers.html#csu___pcap_prog.html Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com> Link: https://lore.kernel.org/r/20230915093901.1062825-1-lukas.funke-oss@weidmueller.com Signed-off-by: Michal Simek <michal.simek@amd.com>
-rw-r--r--arch/arm/mach-zynqmp/include/mach/hardware.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-zynqmp/include/mach/hardware.h b/arch/arm/mach-zynqmp/include/mach/hardware.h
index 634bf169c63..8cb6494e52c 100644
--- a/arch/arm/mach-zynqmp/include/mach/hardware.h
+++ b/arch/arm/mach-zynqmp/include/mach/hardware.h
@@ -166,7 +166,7 @@ struct csu_regs {
u32 jtag_dap_cfg;
u32 idcode;
u32 version;
- u32 reserved2[3055];
+ u32 reserved2[3054];
u32 pcap_prog;
};