aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-zynqmp
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2021-02-02 16:34:48 +0100
committerMichal Simek <michal.simek@xilinx.com>2021-02-10 13:21:12 +0100
commit98757d87ee04cd8f57e9f2d6a8017a1d1a4ea646 (patch)
tree06a8e236b49b6f9a88f9e0be65f9bcc493351de5 /arch/arm/mach-zynqmp
parentfc3c6fd75298b69175cc4a0732759f5e1054dc21 (diff)
downloadu-boot-98757d87ee04cd8f57e9f2d6a8017a1d1a4ea646.zip
u-boot-98757d87ee04cd8f57e9f2d6a8017a1d1a4ea646.tar.gz
u-boot-98757d87ee04cd8f57e9f2d6a8017a1d1a4ea646.tar.bz2
xilinx: Show silicon version in SPL
Both Zynq and ZynqMP can show silicon versions in SPL boot flow. It is useful to be aware. The patch is also fixing possition of these bits on ZynqMP. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-zynqmp')
-rw-r--r--arch/arm/mach-zynqmp/include/mach/hardware.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-zynqmp/include/mach/hardware.h b/arch/arm/mach-zynqmp/include/mach/hardware.h
index b328837..3d3c48e 100644
--- a/arch/arm/mach-zynqmp/include/mach/hardware.h
+++ b/arch/arm/mach-zynqmp/include/mach/hardware.h
@@ -128,8 +128,8 @@ struct apu_regs {
#define ZYNQMP_CSU_VERSION_EMPTY_SHIFT 20
-#define ZYNQMP_SILICON_VER_MASK 0xF000
-#define ZYNQMP_SILICON_VER_SHIFT 12
+#define ZYNQMP_SILICON_VER_MASK 0xF
+#define ZYNQMP_SILICON_VER_SHIFT 0
struct csu_regs {
u32 reserved0[4];