openwrtv3/target/linux/layerscape/patches-4.4/3143-armv8-aarch32-Execute-32-bit-Linux-for-ls1046a.patch

28 lines
788 B
Diff
Raw Normal View History

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