summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@foss.st.com>2024-01-15 15:05:45 +0100
committerPatrice Chotard <patrice.chotard@foss.st.com>2024-01-19 14:19:42 +0100
commit5c769376595ba962a7ffda21d405e3eb3a44f768 (patch)
tree644502e7b27b65b431fb23b82696b2f582df9397 /arch/arm/mach-stm32mp
parent792122baa7d59b005a7573e52bcd86d172d8ded0 (diff)
downloadu-boot-5c769376595ba962a7ffda21d405e3eb3a44f768.tar.gz
u-boot-5c769376595ba962a7ffda21d405e3eb3a44f768.tar.bz2
u-boot-5c769376595ba962a7ffda21d405e3eb3a44f768.zip
arm: stm32mp: add Rev.B support for STM32MP25
Add chip revision B support for STM32MP25, for displaying it in trace. Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'arch/arm/mach-stm32mp')
-rw-r--r--arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c b/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c
index 4b2f70af9c..7f896a0d65 100644
--- a/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c
+++ b/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c
@@ -167,6 +167,9 @@ void get_soc_name(char name[SOC_NAME_SIZE])
case CPU_REV1:
cpu_r = "A";
break;
+ case CPU_REV2:
+ cpu_r = "B";
+ break;
default:
break;
}