]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
stm32mp1: support of STM32MP15x Rev.Z
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 28 Jan 2020 09:11:06 +0000 (10:11 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Thu, 13 Feb 2020 16:31:08 +0000 (17:31 +0100)
Add support for Rev.Z of STM32MP15x cpu.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/mach-stm32mp/cpu.c
arch/arm/mach-stm32mp/include/mach/sys_proto.h

index de7891b5c4a0c5354af9bf2bae7c55e4ecd3b102..ea0bd94605b77eac27a2045bfd5ca0403e2046fe 100644 (file)
@@ -342,6 +342,9 @@ int print_cpuinfo(void)
        case CPU_REVB:
                cpu_r = "B";
                break;
+       case CPU_REVZ:
+               cpu_r = "Z";
+               break;
        default:
                cpu_r = "?";
                break;
index 47e57922d1e4d6a1a0559215bb5583227670fde2..da46c11573eab040f2df98678e0f515c53653db2 100644 (file)
@@ -16,6 +16,7 @@ u32 get_cpu_type(void);
 
 #define CPU_REVA       0x1000
 #define CPU_REVB       0x2000
+#define CPU_REVZ       0x2001
 
 /* return CPU_REV constants */
 u32 get_cpu_rev(void);