summaryrefslogtreecommitdiff
path: root/target/linux/layerscape/patches-4.4/3143-armv8-aarch32-Execute-32-bit-Linux-for-ls1046a.patch
blob: 8754ea4fdb3d1aedbc3664179fd0e71fce1f4539 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 887fd872791ce6e60045f4c6a97926365c6c817c Mon Sep 17 00:00:00 2001
From: Yutang Jiang <yutang.jiang@nxp.com>
Date: Wed, 7 Dec 2016 00:47:35 +0800
Subject: [PATCH] armv8: aarch32: Execute 32-bit Linux for ls1046a

Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
---
 arch/arm/mach-imx/mach-layerscape.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

--- a/arch/arm/mach-imx/mach-layerscape.c
+++ b/arch/arm/mach-imx/mach-layerscape.c
@@ -12,11 +12,13 @@
 #include "common.h"
 
 static const char * const layerscape_dt_compat[] __initconst = {
-	"fsl,ls1043a",
 	"fsl,ls1012a",
+	"fsl,ls1043a",
+	"fsl,ls1046a",
 	NULL,
 };
 
 DT_MACHINE_START(LAYERSCAPE, "Freescale LAYERSCAPE")
+	.smp		= smp_ops(layerscape_smp_ops),
 	.dt_compat	= layerscape_dt_compat,
 MACHINE_END