1 From f6dcf8936845ea95eba432ee725cec761032fe2a Mon Sep 17 00:00:00 2001
2 From: Ying Zhang <ying.zhang22455@nxp.com>
3 Date: Thu, 29 Sep 2016 10:12:29 +0800
4 Subject: [PATCH 117/124] armv8: aarch32: Run 32-bit Linux for LayerScape SoCs
6 This patch adds AArch32 execution state support for LayerScape SoCs.
8 Signed-off-by: Ebony Zhu <ebony.zhu@nxp.com>
9 Signed-off-by: Alison Wang <alison.wang@nxp.com>
11 arch/arm/mach-imx/Makefile | 2 ++
12 arch/arm/mach-imx/mach-layerscape.c | 22 ++++++++++++++++++++++
13 2 files changed, 24 insertions(+)
14 create mode 100644 arch/arm/mach-imx/mach-layerscape.c
16 --- a/arch/arm/mach-imx/Makefile
17 +++ b/arch/arm/mach-imx/Makefile
18 @@ -103,4 +103,6 @@ obj-$(CONFIG_SOC_LS1021A) += mach-ls1021
20 obj-$(CONFIG_ARCH_LAYERSCAPE) += mach-ls1043a.o
22 +obj-$(CONFIG_ARCH_LAYERSCAPE) += mach-layerscape.o
26 +++ b/arch/arm/mach-imx/mach-layerscape.c
29 + * Copyright 2015-2016 Freescale Semiconductor, Inc.
31 + * This program is free software; you can redistribute it and/or modify
32 + * it under the terms of the GNU General Public License as published by
33 + * the Free Software Foundation; either version 2 of the License, or
34 + * (at your option) any later version.
37 +#include <asm/mach/arch.h>
41 +static const char * const layerscape_dt_compat[] __initconst = {
47 +DT_MACHINE_START(LAYERSCAPE, "Freescale LAYERSCAPE")
48 + .dt_compat = layerscape_dt_compat,