]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: stm32mp: add Rev.B support for STM32MP25
authorYann Gautier <yann.gautier@foss.st.com>
Mon, 15 Jan 2024 14:05:45 +0000 (15:05 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 19 Jan 2024 13:19:42 +0000 (14:19 +0100)
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>
arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c

index 4b2f70af9cc6a3276d6272e0078e572456312e53..7f896a0d65d2f5730bd7b5c7ce4b7a7a07a194ae 100644 (file)
@@ -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;
                }