From: Yann Gautier <[email protected]>

Add chip revision B support for STM32MP25, for displaying it in trace.

Reviewed-by: Patrice Chotard <[email protected]>
Signed-off-by: Yann Gautier <[email protected]>
Signed-off-by: Patrick Delaunay <[email protected]>
---

(no changes since v1)

 arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c 
b/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c
index 4b2f70af9cc6..7f896a0d65d2 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;
                }
-- 
2.25.1

Reply via email to