1 /***************************************************************************/
4 * linux/arch/m68knommu/platform/527x/config.c
6 * Sub-architcture dependant initialization code for the Freescale
9 * Copyright (C) 1999-2004, Greg Ungerer (gerg@snapgear.com)
10 * Copyright (C) 2001-2004, SnapGear Inc. (www.snapgear.com)
13 /***************************************************************************/
15 #include <linux/kernel.h>
16 #include <linux/param.h>
17 #include <linux/init.h>
18 #include <linux/interrupt.h>
20 #include <asm/machdep.h>
21 #include <asm/coldfire.h>
22 #include <asm/mcfsim.h>
23 #include <asm/mcfdma.h>
25 /***************************************************************************/
27 void coldfire_reset(void);
29 /***************************************************************************/
32 * DMA channel base address table.
34 unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS] = {
35 MCF_MBAR + MCFDMA_BASE0,
38 unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS];
40 /***************************************************************************/
42 void mcf_disableall(void)
44 *((volatile unsigned long *) (MCF_IPSBAR + MCFICM_INTC0 + MCFINTC_IMRH)) = 0xffffffff;
45 *((volatile unsigned long *) (MCF_IPSBAR + MCFICM_INTC0 + MCFINTC_IMRL)) = 0xffffffff;
48 /***************************************************************************/
50 void mcf_autovector(unsigned int vec)
52 /* Everything is auto-vectored on the 5272 */
55 /***************************************************************************/
57 void config_BSP(char *commandp, int size)
60 mach_reset = coldfire_reset;
63 /***************************************************************************/