Skip to content

Commit

Permalink
arm64: zynqmp: Corrected pcap_prog register address
Browse files Browse the repository at this point in the history
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
  • Loading branch information
luckyfunky authored and michalsimek committed Sep 21, 2023
1 parent e6ff998 commit 1ae4a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-zynqmp/include/mach/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ struct csu_regs {
u32 jtag_dap_cfg;
u32 idcode;
u32 version;
u32 reserved2[3055];
u32 reserved2[3054];
u32 pcap_prog;
};

Expand Down

0 comments on commit 1ae4a07

Please sign in to comment.