]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
stm32mp: add support of STM32MP13x Rev.Y
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Thu, 30 Jun 2022 08:20:16 +0000 (10:20 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 12 Jul 2022 09:47:34 +0000 (11:47 +0200)
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>
arch/arm/mach-stm32mp/include/mach/sys_proto.h
arch/arm/mach-stm32mp/stm32mp13x.c

index 4b564e86dc52c12541481a68fcbd5c0362df85f8..f19a70e53e09b9ad35e0f18ddb85d9e0e962e022 100644 (file)
@@ -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
 
index bd3f24c349ad53540532e3afcf92147a6c86b43b..845d973ad1b2473341a769cb9f6e25bd525542e6 100644 (file)
@@ -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;