8754ea4fdb3d1aedbc3664179fd0e71fce1f4539
[openwrt/openwrt.git] / target / linux / layerscape / patches-4.4 / 3143-armv8-aarch32-Execute-32-bit-Linux-for-ls1046a.patch
1 From 887fd872791ce6e60045f4c6a97926365c6c817c Mon Sep 17 00:00:00 2001
2 From: Yutang Jiang <yutang.jiang@nxp.com>
3 Date: Wed, 7 Dec 2016 00:47:35 +0800
4 Subject: [PATCH] armv8: aarch32: Execute 32-bit Linux for ls1046a
5
6 Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
7 ---
8 arch/arm/mach-imx/mach-layerscape.c | 4 +++-
9 1 file changed, 3 insertions(+), 1 deletion(-)
10
11 --- a/arch/arm/mach-imx/mach-layerscape.c
12 +++ b/arch/arm/mach-imx/mach-layerscape.c
13 @@ -12,11 +12,13 @@
14 #include "common.h"
15
16 static const char * const layerscape_dt_compat[] __initconst = {
17 - "fsl,ls1043a",
18 "fsl,ls1012a",
19 + "fsl,ls1043a",
20 + "fsl,ls1046a",
21 NULL,
22 };
23
24 DT_MACHINE_START(LAYERSCAPE, "Freescale LAYERSCAPE")
25 + .smp = smp_ops(layerscape_smp_ops),
26 .dt_compat = layerscape_dt_compat,
27 MACHINE_END