summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-stm32mp/cpu.c')
-rw-r--r--arch/arm/mach-stm32mp/cpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-stm32mp/cpu.c b/arch/arm/mach-stm32mp/cpu.c
index 325d7101009..0ad5f307dba 100644
--- a/arch/arm/mach-stm32mp/cpu.c
+++ b/arch/arm/mach-stm32mp/cpu.c
@@ -432,13 +432,13 @@ static void get_cpu_string_offsets(unsigned int *type, unsigned int *pkg,
/* Revision */
switch (get_cpu_rev()) {
- case CPU_REVA:
+ case CPU_REV1:
*rev = 1;
break;
- case CPU_REVB:
+ case CPU_REV2:
*rev = 2;
break;
- case CPU_REVZ:
+ case CPU_REV2_1:
*rev = 3;
break;
default: