From ef0b8a6c1b1a0eab3626041f3168f82bdb410836 Mon Sep 17 00:00:00 2001 From: Yann Gautier Date: Wed, 25 Aug 2021 14:40:12 +0200 Subject: [PATCH] feat(stm32mp1): chip rev. Z is 0x1001 on STM32MP13 On STM32MP13, the chip revision Z is 0x1001, contrary to STM32MP15, for which it was 0x2001. Signed-off-by: Yann Gautier Change-Id: If65482e824b169282abb5e26ca91e16ef7640b52 --- plat/st/stm32mp1/stm32mp1_def.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plat/st/stm32mp1/stm32mp1_def.h b/plat/st/stm32mp1/stm32mp1_def.h index 094693689..9c33e1dcc 100644 --- a/plat/st/stm32mp1/stm32mp1_def.h +++ b/plat/st/stm32mp1/stm32mp1_def.h @@ -52,7 +52,12 @@ #define STM32MP151D_PART_NB U(0x050000AF) #define STM32MP1_REV_B U(0x2000) +#if STM32MP13 +#define STM32MP1_REV_Z U(0x1001) +#endif +#if STM32MP15 #define STM32MP1_REV_Z U(0x2001) +#endif /******************************************************************************* * PACKAGE ID -- 2.39.5