diff options
author | Patrick Delaunay <patrick.delaunay@foss.st.com> | 2022-06-30 10:20:16 +0200 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@foss.st.com> | 2022-07-12 11:47:34 +0200 |
commit | 50b371fd68afb3650fc285bca6ae88d639418a16 (patch) | |
tree | 02516df78eb1afb56e627d6891e4d32b92419091 /arch/arm/mach-stm32mp | |
parent | 12e11aae2d96d4c437c4c068e440ab4b7f08ceb0 (diff) | |
download | u-boot-50b371fd68afb3650fc285bca6ae88d639418a16.zip u-boot-50b371fd68afb3650fc285bca6ae88d639418a16.tar.gz u-boot-50b371fd68afb3650fc285bca6ae88d639418a16.tar.bz2 |
stm32mp: add support of STM32MP13x Rev.Y
Add support of STM32MP13x Rev.Y for the Silicon revision REV_ID = 0x1003.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'arch/arm/mach-stm32mp')
-rw-r--r-- | arch/arm/mach-stm32mp/include/mach/sys_proto.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-stm32mp/stm32mp13x.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32mp/include/mach/sys_proto.h b/arch/arm/mach-stm32mp/include/mach/sys_proto.h index 4b564e8..f19a70e 100644 --- a/arch/arm/mach-stm32mp/include/mach/sys_proto.h +++ b/arch/arm/mach-stm32mp/include/mach/sys_proto.h @@ -41,6 +41,7 @@ u32 get_cpu_dev(void); #define CPU_REV1 0x1000 #define CPU_REV1_1 0x1001 +#define CPU_REV1_2 0x1003 #define CPU_REV2 0x2000 #define CPU_REV2_1 0x2001 diff --git a/arch/arm/mach-stm32mp/stm32mp13x.c b/arch/arm/mach-stm32mp/stm32mp13x.c index bd3f24c..845d973 100644 --- a/arch/arm/mach-stm32mp/stm32mp13x.c +++ b/arch/arm/mach-stm32mp/stm32mp13x.c @@ -126,6 +126,9 @@ void get_soc_name(char name[SOC_NAME_SIZE]) case CPU_REV1_1: cpu_r = "Z"; break; + case CPU_REV1_2: + cpu_r = "Y"; + break; default: cpu_r = "?"; break; |