Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * Copyright 2013 Greg Ungerer <gerg@uclinux.org>
0004  * Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved.
0005  * Copyright 2011 Linaro Ltd.
0006  */
0007 
0008 #include <linux/of_platform.h>
0009 #include <asm/mach/arch.h>
0010 
0011 #include "common.h"
0012 #include "hardware.h"
0013 
0014 static void __init imx50_init_early(void)
0015 {
0016     mxc_set_cpu_type(MXC_CPU_MX50);
0017 }
0018 
0019 static const char * const imx50_dt_board_compat[] __initconst = {
0020     "fsl,imx50",
0021     NULL
0022 };
0023 
0024 DT_MACHINE_START(IMX50_DT, "Freescale i.MX50 (Device Tree Support)")
0025     .init_early = imx50_init_early,
0026     .dt_compat  = imx50_dt_board_compat,
0027 MACHINE_END