From ffb3f2771340a75c713c992a11501f963ddc310f Mon Sep 17 00:00:00 2001 From: Lionel Debieve Date: Tue, 25 Jun 2019 10:40:37 +0200 Subject: [PATCH] stm32mp1: support of STM32MP15x Rev.Z Add a new revision of STM32MP15x CPU (Rev.Z). Change-Id: I227dd6d9b3fcc43270015cfb21f60aeb0a8ab658 Signed-off-by: Lionel Debieve Signed-off-by: Yann Gautier --- plat/st/stm32mp1/stm32mp1_def.h | 1 + plat/st/stm32mp1/stm32mp1_private.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/plat/st/stm32mp1/stm32mp1_def.h b/plat/st/stm32mp1/stm32mp1_def.h index 369ba6921..825df2cae 100644 --- a/plat/st/stm32mp1/stm32mp1_def.h +++ b/plat/st/stm32mp1/stm32mp1_def.h @@ -39,6 +39,7 @@ #define STM32MP151A_PART_NB U(0x0500002F) #define STM32MP1_REV_B U(0x2000) +#define STM32MP1_REV_Z U(0x2001) /******************************************************************************* * PACKAGE ID diff --git a/plat/st/stm32mp1/stm32mp1_private.c b/plat/st/stm32mp1/stm32mp1_private.c index fd60db282..499766d3d 100644 --- a/plat/st/stm32mp1/stm32mp1_private.c +++ b/plat/st/stm32mp1/stm32mp1_private.c @@ -261,6 +261,9 @@ void stm32mp_print_cpuinfo(void) case STM32MP1_REV_B: cpu_r = "B"; break; + case STM32MP1_REV_Z: + cpu_r = "Z"; + break; default: cpu_r = "?"; break; -- 2.39.5