You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/layerscape/patches-4.4/3143-armv8-aarch32-Execute-...

28 lines
788 B
Diff

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