Loading...
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
13static void __init imx50_init_early(void)
14{
15 mxc_set_cpu_type(MXC_CPU_MX50);
16}
17
18static const char * const imx50_dt_board_compat[] __initconst = {
19 "fsl,imx50",
20 NULL
21};
22
23DT_MACHINE_START(IMX50_DT, "Freescale i.MX50 (Device Tree Support)")
24 .init_early = imx50_init_early,
25 .dt_compat = imx50_dt_board_compat,
26MACHINE_END
1/*
2 * Copyright 2013 Greg Ungerer <gerg@uclinux.org>
3 * Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved.
4 * Copyright 2011 Linaro Ltd.
5 *
6 * The code contained herein is licensed under the GNU General Public
7 * License. You may obtain a copy of the GNU General Public License
8 * Version 2 or later at the following locations:
9 *
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
12 */
13
14#include <linux/of_platform.h>
15#include <asm/mach/arch.h>
16
17#include "common.h"
18
19static const char * const imx50_dt_board_compat[] __initconst = {
20 "fsl,imx50",
21 NULL
22};
23
24DT_MACHINE_START(IMX50_DT, "Freescale i.MX50 (Device Tree Support)")
25 .dt_compat = imx50_dt_board_compat,
26MACHINE_END