]> git.sur5r.net Git - u-boot/commitdiff
armv8: ls2040a: Add support of LS2040A SoC
authorPratiyush Mohan Srivastava <pratiyush.srivastava@freescale.com>
Tue, 22 Dec 2015 11:18:43 +0000 (16:48 +0530)
committerYork Sun <york.sun@nxp.com>
Mon, 25 Jan 2016 16:24:17 +0000 (08:24 -0800)
Freescale's LS2040A is a another personality of LS2080A SoC
without AIOP support consisting of 4 armv8 cores.

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

index e030430786ee29301c9be96010cd602d3862a7e2..b10ee430cfb5766c176cc32e3f17be096921cb2d 100644 (file)
@@ -12,6 +12,7 @@ static struct cpu_type cpu_type_list[] = {
        CPU_TYPE_ENTRY(LS2085, LS2085, 8),
        CPU_TYPE_ENTRY(LS2045, LS2045, 4),
        CPU_TYPE_ENTRY(LS1043, LS1043, 4),
+       CPU_TYPE_ENTRY(LS2040, LS2040, 4),
 };
 
 #ifndef CONFIG_SYS_DCACHE_OFF
index 1565592996d6a97e19ce5ca0dd9bce7797263a72..ea78e15f49c9858af8c62696c45526be88efb8ae 100644 (file)
@@ -45,6 +45,7 @@ struct cpu_type {
 #define SVR_LS2045             0x870120
 #define SVR_LS2080             0x870110
 #define SVR_LS2085             0x870100
+#define SVR_LS2040             0x870130
 
 #define SVR_MAJ(svr)           (((svr) >> 4) & 0xf)
 #define SVR_MIN(svr)           (((svr) >> 0) & 0xf)