~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/m68k/platform/coldfire/m5206.c

Version: ~ [ linux-5.11-rc3 ] ~ [ linux-5.10.7 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.89 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.167 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.215 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.251 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.251 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.19.8 ] ~ [ linux-3.18.140 ] ~ [ linux-3.17.8 ] ~ [ linux-3.16.85 ] ~ [ linux-3.15.10 ] ~ [ linux-3.14.79 ] ~ [ linux-3.13.11 ] ~ [ linux-3.12.74 ] ~ [ linux-3.11.10 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /***************************************************************************/
  2 
  3 /*
  4  *      linux/arch/m68knommu/platform/5206/config.c
  5  *
  6  *      Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
  7  *      Copyright (C) 2000-2001, Lineo Inc. (www.lineo.com) 
  8  */
  9 
 10 /***************************************************************************/
 11 
 12 #include <linux/kernel.h>
 13 #include <linux/param.h>
 14 #include <linux/init.h>
 15 #include <linux/io.h>
 16 #include <asm/machdep.h>
 17 #include <asm/coldfire.h>
 18 #include <asm/mcfsim.h>
 19 #include <asm/mcfclk.h>
 20 
 21 /***************************************************************************/
 22 
 23 DEFINE_CLK(pll, "pll.0", MCF_CLK);
 24 DEFINE_CLK(sys, "sys.0", MCF_BUSCLK);
 25 DEFINE_CLK(mcftmr0, "mcftmr.0", MCF_BUSCLK);
 26 DEFINE_CLK(mcftmr1, "mcftmr.1", MCF_BUSCLK);
 27 DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK);
 28 DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK);
 29 
 30 struct clk *mcf_clks[] = {
 31         &clk_pll,
 32         &clk_sys,
 33         &clk_mcftmr0,
 34         &clk_mcftmr1,
 35         &clk_mcfuart0,
 36         &clk_mcfuart1,
 37         NULL
 38 };
 39 
 40 /***************************************************************************/
 41 
 42 void __init config_BSP(char *commandp, int size)
 43 {
 44 #if defined(CONFIG_NETtel)
 45         /* Copy command line from FLASH to local buffer... */
 46         memcpy(commandp, (char *) 0xf0004000, size);
 47         commandp[size-1] = 0;
 48 #endif /* CONFIG_NETtel */
 49 
 50         mach_sched_init = hw_timer_init;
 51 
 52         /* Only support the external interrupts on their primary level */
 53         mcf_mapirq2imr(25, MCFINTC_EINT1);
 54         mcf_mapirq2imr(28, MCFINTC_EINT4);
 55         mcf_mapirq2imr(31, MCFINTC_EINT7);
 56 }
 57 
 58 /***************************************************************************/
 59 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp