config.c 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /***************************************************************************/
  2. /*
  3. * linux/arch/m68knommu/platform/520x/config.c
  4. *
  5. * Copyright (C) 2005, Freescale (www.freescale.com)
  6. * Copyright (C) 2005, Intec Automation (mike@steroidmicros.com)
  7. * Copyright (C) 1999-2003, Greg Ungerer (gerg@snapgear.com)
  8. * Copyright (C) 2001-2003, SnapGear Inc. (www.snapgear.com)
  9. */
  10. /***************************************************************************/
  11. #include <linux/kernel.h>
  12. #include <linux/param.h>
  13. #include <linux/interrupt.h>
  14. #include <asm/machdep.h>
  15. #include <asm/dma.h>
  16. /***************************************************************************/
  17. /*
  18. * DMA channel base address table.
  19. */
  20. unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS];
  21. unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS];
  22. /***************************************************************************/
  23. void coldfire_reset(void);
  24. /***************************************************************************/
  25. /*
  26. * Program the vector to be an auto-vectored.
  27. */
  28. void mcf_autovector(unsigned int vec)
  29. {
  30. /* Everything is auto-vectored on the 520x devices */
  31. }
  32. /***************************************************************************/
  33. void config_BSP(char *commandp, int size)
  34. {
  35. mach_reset = coldfire_reset;
  36. }
  37. /***************************************************************************/