aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2020-11-10 13:10:04 +0100
committerMichal Simek <michal.simek@xilinx.com>2020-11-20 10:42:54 +0100
commit6004db972d04e419e7b36e10bdee1bbafd339ad6 (patch)
treeec22bcc8266f394b1700c997bca90ec92b665455 /arch
parentd99f163792089f85d57dad5c63db12a5017766c1 (diff)
downloadu-boot-6004db972d04e419e7b36e10bdee1bbafd339ad6.zip
u-boot-6004db972d04e419e7b36e10bdee1bbafd339ad6.tar.gz
u-boot-6004db972d04e419e7b36e10bdee1bbafd339ad6.tar.bz2
arm64: zynqmp: Get rid of unused macros
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-zynqmp/include/mach/hardware.h6
1 files 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 c5ba421..b328837 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 */