cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

mach-imx50.c (625B)


      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 <linux/of_platform.h>
      9#include <asm/mach/arch.h>
     10
     11#include "common.h"
     12#include "hardware.h"
     13
     14static void __init imx50_init_early(void)
     15{
     16	mxc_set_cpu_type(MXC_CPU_MX50);
     17}
     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	.init_early	= imx50_init_early,
     26	.dt_compat	= imx50_dt_board_compat,
     27MACHINE_END