1 | // SPDX-License-Identifier: GPL-2.0-or-later |
2 | /* |
3 | * Copyright 2013 Greg Ungerer <gerg@uclinux.org> |
4 | * Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved. |
5 | * Copyright 2011 Linaro Ltd. |
6 | */ |
7 | |
8 | #include <asm/mach/arch.h> |
9 | |
10 | #include "common.h" |
11 | #include "hardware.h" |
12 | |
13 | static void __init imx50_init_early(void) |
14 | { |
15 | mxc_set_cpu_type(MXC_CPU_MX50); |
16 | } |
17 | |
18 | static const char * const imx50_dt_board_compat[] __initconst = { |
19 | "fsl,imx50" , |
20 | NULL |
21 | }; |
22 | |
23 | DT_MACHINE_START(IMX50_DT, "Freescale i.MX50 (Device Tree Support)" ) |
24 | .init_early = imx50_init_early, |
25 | .dt_compat = imx50_dt_board_compat, |
26 | MACHINE_END |
27 | |