m5407.c 952 B

123456789101112131415161718192021222324252627282930313233
  1. /***************************************************************************/
  2. /*
  3. * linux/arch/m68knommu/platform/5407/config.c
  4. *
  5. * Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
  6. * Copyright (C) 2000, Lineo (www.lineo.com)
  7. */
  8. /***************************************************************************/
  9. #include <linux/kernel.h>
  10. #include <linux/param.h>
  11. #include <linux/init.h>
  12. #include <linux/io.h>
  13. #include <asm/machdep.h>
  14. #include <asm/coldfire.h>
  15. #include <asm/mcfsim.h>
  16. /***************************************************************************/
  17. void __init config_BSP(char *commandp, int size)
  18. {
  19. mach_sched_init = hw_timer_init;
  20. /* Only support the external interrupts on their primary level */
  21. mcf_mapirq2imr(25, MCFINTC_EINT1);
  22. mcf_mapirq2imr(27, MCFINTC_EINT3);
  23. mcf_mapirq2imr(29, MCFINTC_EINT5);
  24. mcf_mapirq2imr(31, MCFINTC_EINT7);
  25. }
  26. /***************************************************************************/