mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-21 03:54:34 +00:00
feat(stm32mp1): manage STM32MP13 rev.Y
The new SoC version for STM32MP13 is the revision Y. The register SYSCFG_IDC is updated for this new version with the value 0x1003. The function stm32mp_get_soc_name() should also be updated to manage this new SoC revision. Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I4f2fa5f1503f17db93d8413c79c2b7a18d279f9b
This commit is contained in:
parent
936f29f6b5
commit
a3f97f66c3
2 changed files with 6 additions and 0 deletions
|
@ -71,6 +71,7 @@
|
||||||
|
|
||||||
#define STM32MP1_REV_B U(0x2000)
|
#define STM32MP1_REV_B U(0x2000)
|
||||||
#if STM32MP13
|
#if STM32MP13
|
||||||
|
#define STM32MP1_REV_Y U(0x1003)
|
||||||
#define STM32MP1_REV_Z U(0x1001)
|
#define STM32MP1_REV_Z U(0x1001)
|
||||||
#endif
|
#endif
|
||||||
#if STM32MP15
|
#if STM32MP15
|
||||||
|
|
|
@ -493,6 +493,11 @@ void stm32mp_get_soc_name(char name[STM32_SOC_NAME_SIZE])
|
||||||
case STM32MP1_REV_B:
|
case STM32MP1_REV_B:
|
||||||
cpu_r = "B";
|
cpu_r = "B";
|
||||||
break;
|
break;
|
||||||
|
#if STM32MP13
|
||||||
|
case STM32MP1_REV_Y:
|
||||||
|
cpu_r = "Y";
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
case STM32MP1_REV_Z:
|
case STM32MP1_REV_Z:
|
||||||
cpu_r = "Z";
|
cpu_r = "Z";
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue