armv8: ls1043a: add SVR definitions for 23x23 package silicon
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Thu, 20 Dec 2018 06:31:17 +0000 (06:31 +0000)
committerYork Sun <york.sun@nxp.com>
Thu, 17 Jan 2019 21:16:40 +0000 (13:16 -0800)
LS1043A/LS1023A 23x23 package silicon has different SVR:VAR_PER.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
arch/arm/include/asm/arch-fsl-layerscape/soc.h

index 81babd1fb4c511bd097399052637e2f6c83d33d8..be21685eaa8655c70904586b5db3dddd763f7d1a 100644 (file)
@@ -51,7 +51,9 @@ static struct cpu_type cpu_type_list[] = {
        CPU_TYPE_ENTRY(LS2081A, LS2081A, 8),
        CPU_TYPE_ENTRY(LS2041A, LS2041A, 4),
        CPU_TYPE_ENTRY(LS1043A, LS1043A, 4),
+       CPU_TYPE_ENTRY(LS1043A, LS1043A_P23, 4),
        CPU_TYPE_ENTRY(LS1023A, LS1023A, 2),
+       CPU_TYPE_ENTRY(LS1023A, LS1023A_P23, 2),
        CPU_TYPE_ENTRY(LS1046A, LS1046A, 4),
        CPU_TYPE_ENTRY(LS1026A, LS1026A, 2),
        CPU_TYPE_ENTRY(LS2040A, LS2040A, 4),
index f5bef6d5697870a4500cac524caf7c279db9f529..7d95c4e2f58038d029f507663e7d893796f37daf 100644 (file)
@@ -80,6 +80,9 @@ enum boot_src get_boot_src(void);
 #define SVR_LS1012A            0x870400
 #define SVR_LS1043A            0x879200
 #define SVR_LS1023A            0x879208
+/* LS1043A/LS1023A 23x23 package silicon has different value of VAR_PER */
+#define SVR_LS1043A_P23                0x879202
+#define SVR_LS1023A_P23                0x87920A
 #define SVR_LS1046A            0x870700
 #define SVR_LS1026A            0x870708
 #define SVR_LS1048A            0x870320