* [PATCH] arm64: zynqmp: Get rid of unused macros
@ 2020-11-10 12:16 Michal Simek
2020-11-20 9:48 ` Michal Simek
0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2020-11-10 12:16 UTC (permalink / raw)
To: u-boot
There is no reason to have these macros. But record offsets of missing
register in the structure for future use.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
arch/arm/mach-zynqmp/include/mach/hardware.h | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-zynqmp/include/mach/hardware.h b/arch/arm/mach-zynqmp/include/mach/hardware.h
index c5ba42124b04..b328837c694f 100644
--- a/arch/arm/mach-zynqmp/include/mach/hardware.h
+++ b/arch/arm/mach-zynqmp/include/mach/hardware.h
@@ -134,7 +134,8 @@ struct apu_regs {
struct csu_regs {
u32 reserved0[4];
u32 multi_boot;
- u32 reserved1[12];
+ u32 reserved1[11];
+ u32 idcode;
u32 version;
};
@@ -149,7 +150,4 @@ 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 */
--
2.29.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] arm64: zynqmp: Get rid of unused macros
2020-11-10 12:16 [PATCH] arm64: zynqmp: Get rid of unused macros Michal Simek
@ 2020-11-20 9:48 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2020-11-20 9:48 UTC (permalink / raw)
To: u-boot
?t 10. 11. 2020 v 13:16 odes?latel Michal Simek
<michal.simek@xilinx.com> napsal:
>
> There is no reason to have these macros. But record offsets of missing
> register in the structure for future use.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
> arch/arm/mach-zynqmp/include/mach/hardware.h | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/mach-zynqmp/include/mach/hardware.h b/arch/arm/mach-zynqmp/include/mach/hardware.h
> index c5ba42124b04..b328837c694f 100644
> --- a/arch/arm/mach-zynqmp/include/mach/hardware.h
> +++ b/arch/arm/mach-zynqmp/include/mach/hardware.h
> @@ -134,7 +134,8 @@ struct apu_regs {
> struct csu_regs {
> u32 reserved0[4];
> u32 multi_boot;
> - u32 reserved1[12];
> + u32 reserved1[11];
> + u32 idcode;
> u32 version;
> };
>
> @@ -149,7 +150,4 @@ 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 */
> --
> 2.29.2
>
Applied.
M
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-20 9:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 12:16 [PATCH] arm64: zynqmp: Get rid of unused macros Michal Simek
2020-11-20 9:48 ` Michal Simek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.