diff options
author | Michal Simek <michal.simek@xilinx.com> | 2021-02-02 16:34:48 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2021-02-10 13:21:12 +0100 |
commit | 98757d87ee04cd8f57e9f2d6a8017a1d1a4ea646 (patch) | |
tree | 06a8e236b49b6f9a88f9e0be65f9bcc493351de5 /arch/arm/mach-zynqmp | |
parent | fc3c6fd75298b69175cc4a0732759f5e1054dc21 (diff) | |
download | u-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.h | 4 |
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]; |