]> git.sur5r.net Git - u-boot/commitdiff
armv8: fsl-layerscape: Append "A" in SoC name for ARM based SoCs
authorPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Fri, 24 Jun 2016 08:18:13 +0000 (13:48 +0530)
committerYork Sun <york.sun@nxp.com>
Tue, 28 Jun 2016 19:08:53 +0000 (12:08 -0700)
Freescale ARMv8 SoC name ends with "A" to represent ARM SoCs.
like LS2080A, LS1043A, LS1012A.

So append "A" to SoC names.

Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/soc.c
arch/arm/include/asm/arch-fsl-layerscape/cpu.h
arch/arm/include/asm/arch-fsl-layerscape/soc.h
drivers/usb/common/fsl-errata.c

index d8ec426ce2ee45a473a6b62adfcbbb396c4e47bf..f62b78d1021c9c783c389bf1400272118d2f564d 100644 (file)
@@ -28,7 +28,7 @@ bool soc_has_dp_ddr(void)
        u32 svr = gur_in32(&gur->svr);
 
        /* LS2085A has DP_DDR */
-       if (SVR_SOC_VER(svr) == SVR_LS2085)
+       if (SVR_SOC_VER(svr) == SVR_LS2085A)
                return true;
 
        return false;
@@ -40,7 +40,7 @@ bool soc_has_aiop(void)
        u32 svr = gur_in32(&gur->svr);
 
        /* LS2085A has AIOP */
-       if (SVR_SOC_VER(svr) == SVR_LS2085)
+       if (SVR_SOC_VER(svr) == SVR_LS2085A)
                return true;
 
        return false;
index df877ddc7dc0ec9c49787a4b8169285a18a6219d..197b0eb5a53a4a3ed8724b61ab2f41ec05305e62 100644 (file)
@@ -8,13 +8,13 @@
 #define _FSL_LAYERSCAPE_CPU_H
 
 static struct cpu_type cpu_type_list[] = {
-       CPU_TYPE_ENTRY(LS2080, LS2080, 8),
-       CPU_TYPE_ENTRY(LS2085, LS2085, 8),
-       CPU_TYPE_ENTRY(LS2045, LS2045, 4),
-       CPU_TYPE_ENTRY(LS1043, LS1043, 4),
-       CPU_TYPE_ENTRY(LS1023, LS1023, 2),
-       CPU_TYPE_ENTRY(LS2040, LS2040, 4),
-       CPU_TYPE_ENTRY(LS1012, LS1012, 1),
+       CPU_TYPE_ENTRY(LS2080A, LS2080A, 8),
+       CPU_TYPE_ENTRY(LS2085A, LS2085A, 8),
+       CPU_TYPE_ENTRY(LS2045A, LS2045A, 4),
+       CPU_TYPE_ENTRY(LS1043A, LS1043A, 4),
+       CPU_TYPE_ENTRY(LS1023A, LS1023A, 2),
+       CPU_TYPE_ENTRY(LS2040A, LS2040A, 4),
+       CPU_TYPE_ENTRY(LS1012A, LS1012A, 1),
 };
 
 #ifndef CONFIG_SYS_DCACHE_OFF
index 2cb6c5430e782e59ecfe296516bb66810f3c7d57..39e8c7a17c34ec644c36735ca5fd8a1c22ed8594 100644 (file)
@@ -41,13 +41,13 @@ struct cpu_type {
        { .name = #n, .soc_ver = SVR_##v, .num_cores = (nc)}
 
 #define SVR_WO_E               0xFFFFFE
-#define SVR_LS1012             0x870400
-#define SVR_LS1043             0x879200
-#define SVR_LS1023             0x879208
-#define SVR_LS2045             0x870120
-#define SVR_LS2080             0x870110
-#define SVR_LS2085             0x870100
-#define SVR_LS2040             0x870130
+#define SVR_LS1012A            0x870400
+#define SVR_LS1043A            0x879200
+#define SVR_LS1023A            0x879208
+#define SVR_LS2045A            0x870120
+#define SVR_LS2080A            0x870110
+#define SVR_LS2085A            0x870100
+#define SVR_LS2040A            0x870130
 
 #define SVR_MAJ(svr)           (((svr) >> 4) & 0xf)
 #define SVR_MIN(svr)           (((svr) >> 0) & 0xf)
index ebe60a82f16818e2ab81138bca3e08a7466d85b1..183bf2ba42ed3a7d207758f0366afd6b1ba402dd 100644 (file)
@@ -182,8 +182,8 @@ bool has_erratum_a008751(void)
 
        switch (soc) {
 #ifdef CONFIG_ARM64
-       case SVR_LS2080:
-       case SVR_LS2085:
+       case SVR_LS2080A:
+       case SVR_LS2085A:
                return IS_SVR_REV(svr, 1, 0);
 #endif
        }