aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexei Fedorov <Alexei.Fedorov@arm.com>2020-10-13 14:42:09 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-10-13 14:42:09 +0000
commit0e935f00efe21571429eae8559b4a2f0bacf8c58 (patch)
tree18ba0b7404bc7e0fedaaa577ac04f91a99ce952f
parentcb57306fa3555bfec7ac2a61de7375675c087dc8 (diff)
parentffb3f2771340a75c713c992a11501f963ddc310f (diff)
downloadtrusted-firmware-a-0e935f00efe21571429eae8559b4a2f0bacf8c58.tar.gz
Merge "stm32mp1: support of STM32MP15x Rev.Z" into integration
-rw-r--r--plat/st/stm32mp1/stm32mp1_def.h1
-rw-r--r--plat/st/stm32mp1/stm32mp1_private.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/plat/st/stm32mp1/stm32mp1_def.h b/plat/st/stm32mp1/stm32mp1_def.h
index 369ba69214..825df2cae7 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 fd60db282b..499766d3d2 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;