Skip to content
Snippets Groups Projects
Commit cf0818b4 authored by Patrick Delaunay's avatar Patrick Delaunay
Browse files

stm32mp1: support of STM32MP15x Rev.Z


Add support for Rev.Z of STM32MP15x cpu.

Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: default avatarPatrice Chotard <patrice.chotard@st.com>
parent a21a6ba4
No related branches found
No related tags found
No related merge requests found
...@@ -342,6 +342,9 @@ int print_cpuinfo(void) ...@@ -342,6 +342,9 @@ int print_cpuinfo(void)
case CPU_REVB: case CPU_REVB:
cpu_r = "B"; cpu_r = "B";
break; break;
case CPU_REVZ:
cpu_r = "Z";
break;
default: default:
cpu_r = "?"; cpu_r = "?";
break; break;
......
...@@ -16,6 +16,7 @@ u32 get_cpu_type(void); ...@@ -16,6 +16,7 @@ u32 get_cpu_type(void);
#define CPU_REVA 0x1000 #define CPU_REVA 0x1000
#define CPU_REVB 0x2000 #define CPU_REVB 0x2000
#define CPU_REVZ 0x2001
/* return CPU_REV constants */ /* return CPU_REV constants */
u32 get_cpu_rev(void); u32 get_cpu_rev(void);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment