]> Git Repo - linux.git/blob - arch/arm/mach-imx/mach-imx1.c
mm: abstract the vma_merge()/split_vma() pattern for mprotect() et al.
[linux.git] / arch / arm / mach-imx / mach-imx1.c
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  *  Copyright (C) 2014 Alexander Shiyan <[email protected]>
4  */
5
6 #include <asm/mach/arch.h>
7
8 #include "common.h"
9 #include "hardware.h"
10
11 static void __init imx1_init_early(void)
12 {
13         mxc_set_cpu_type(MXC_CPU_MX1);
14 }
15
16 static const char * const imx1_dt_board_compat[] __initconst = {
17         "fsl,imx1",
18         NULL
19 };
20
21 DT_MACHINE_START(IMX1_DT, "Freescale i.MX1 (Device Tree Support)")
22         .init_early     = imx1_init_early,
23         .dt_compat      = imx1_dt_board_compat,
24         .restart        = mxc_restart,
25 MACHINE_END
This page took 0.032655 seconds and 4 git commands to generate.