diff options
author | Fabio Estevam <festevam@gmail.com> | 2020-09-02 14:49:50 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-09-05 09:34:26 +0200 |
commit | c93197b0041d7c48263228bffb4520b7c066e02f (patch) | |
tree | 372ad04e94f9cd4efc4dae1818fb5e45b07fbf25 /arch/arm/mach-imx/mach-imx31.c | |
parent | ARM: imx: Remove i.MX27 board files (diff) | |
download | linux-c93197b0041d7c48263228bffb4520b7c066e02f.tar.xz linux-c93197b0041d7c48263228bffb4520b7c066e02f.zip |
ARM: imx: Remove i.MX31 board files
i.MX31 has basic device tree support.
To achieve the goal of converting all i.MX SoCs to a
devicetree-only platform, remove imx31 board files.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx31.c')
-rw-r--r-- | arch/arm/mach-imx/mach-imx31.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mach-imx31.c b/arch/arm/mach-imx/mach-imx31.c new file mode 100644 index 000000000000..dc69dfe600df --- /dev/null +++ b/arch/arm/mach-imx/mach-imx31.c @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2012 Sascha Hauer, Pengutronix + */ + +#include <asm/mach/arch.h> +#include "common.h" + +static const char * const imx31_dt_board_compat[] __initconst = { + "fsl,imx31", + NULL +}; + +DT_MACHINE_START(IMX31_DT, "Freescale i.MX31 (Device Tree Support)") + .map_io = mx31_map_io, + .init_early = imx31_init_early, + .init_irq = mx31_init_irq, + .dt_compat = imx31_dt_board_compat, +MACHINE_END |