2005-11-07 12:09:50 +08:00
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* linux/arch/m68knommu/platform/520x/config.c
|
|
|
|
*
|
|
|
|
* Copyright (C) 2005, Freescale (www.freescale.com)
|
|
|
|
* Copyright (C) 2005, Intec Automation (mike@steroidmicros.com)
|
|
|
|
* Copyright (C) 1999-2003, Greg Ungerer (gerg@snapgear.com)
|
|
|
|
* Copyright (C) 2001-2003, SnapGear Inc. (www.snapgear.com)
|
|
|
|
*/
|
|
|
|
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
#include <linux/kernel.h>
|
|
|
|
#include <linux/param.h>
|
2007-02-07 10:03:19 +08:00
|
|
|
#include <linux/interrupt.h>
|
2005-11-07 12:09:50 +08:00
|
|
|
#include <asm/machdep.h>
|
|
|
|
#include <asm/dma.h>
|
|
|
|
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* DMA channel base address table.
|
|
|
|
*/
|
|
|
|
unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS];
|
|
|
|
unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS];
|
|
|
|
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
void coldfire_reset(void);
|
|
|
|
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Program the vector to be an auto-vectored.
|
|
|
|
*/
|
|
|
|
|
|
|
|
void mcf_autovector(unsigned int vec)
|
|
|
|
{
|
|
|
|
/* Everything is auto-vectored on the 520x devices */
|
|
|
|
}
|
|
|
|
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
void config_BSP(char *commandp, int size)
|
|
|
|
{
|
2007-10-23 12:37:54 +08:00
|
|
|
mach_reset = coldfire_reset;
|
2005-11-07 12:09:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/***************************************************************************/
|