summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/stm32mp15x.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-stm32mp/stm32mp15x.c')
-rw-r--r--arch/arm/mach-stm32mp/stm32mp15x.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-stm32mp/stm32mp15x.c b/arch/arm/mach-stm32mp/stm32mp15x.c
index 660c907a6b..afc56b02ee 100644
--- a/arch/arm/mach-stm32mp/stm32mp15x.c
+++ b/arch/arm/mach-stm32mp/stm32mp15x.c
@@ -266,7 +266,7 @@ static const char * const soc_type[] = {
};
static const char * const soc_pkg[] = { "??", "AD", "AC", "AB", "AA" };
-static const char * const soc_rev[] = { "?", "A", "B", "Z" };
+static const char * const soc_rev[] = { "?", "A", "B", "Z", "Y"};
static void get_cpu_string_offsets(unsigned int *type, unsigned int *pkg,
unsigned int *rev)
@@ -307,6 +307,9 @@ static void get_cpu_string_offsets(unsigned int *type, unsigned int *pkg,
case CPU_REV2_1:
*rev = 3;
break;
+ case CPU_REV2_2:
+ *rev = 4;
+ break;
default:
*rev = 0;
break;