]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Corrected pcap_prog register address
authorLukas Funke <lukas.funke@weidmueller.com>
Fri, 15 Sep 2023 09:39:01 +0000 (11:39 +0200)
committerMichal Simek <michal.simek@amd.com>
Thu, 21 Sep 2023 11:20:11 +0000 (13:20 +0200)
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>
arch/arm/mach-zynqmp/include/mach/hardware.h

index 634bf169c6370f66140eddccb79d7d83984b4daa..8cb6494e52c1baecedf4b82a0564f77eae036147 100644 (file)
@@ -166,7 +166,7 @@ struct csu_regs {
        u32 jtag_dap_cfg;
        u32 idcode;
        u32 version;
-       u32 reserved2[3055];
+       u32 reserved2[3054];
        u32 pcap_prog;
 };