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-imx25.c (790B)


      1// SPDX-License-Identifier: GPL-2.0-or-later
      2/*
      3 * Copyright 2012 Sascha Hauer, Pengutronix
      4 */
      5
      6#include <linux/irq.h>
      7#include <linux/of_address.h>
      8#include <linux/of_irq.h>
      9#include <linux/of_platform.h>
     10#include <asm/mach/arch.h>
     11#include <asm/mach/time.h>
     12#include "common.h"
     13#include "hardware.h"
     14
     15static void __init imx25_init_early(void)
     16{
     17	mxc_set_cpu_type(MXC_CPU_MX25);
     18}
     19
     20static void __init imx25_dt_init(void)
     21{
     22	imx_aips_allow_unprivileged_access("fsl,imx25-aips");
     23}
     24
     25static const char * const imx25_dt_board_compat[] __initconst = {
     26	"fsl,imx25",
     27	NULL
     28};
     29
     30DT_MACHINE_START(IMX25_DT, "Freescale i.MX25 (Device Tree Support)")
     31	.init_early	= imx25_init_early,
     32	.init_machine	= imx25_dt_init,
     33	.init_late      = imx25_pm_init,
     34	.dt_compat	= imx25_dt_board_compat,
     35MACHINE_END