mach-cc9p9360dev.c 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * arch/arm/mach-ns9xxx/mach-cc9p9360dev.c
  3. *
  4. * Copyright (C) 2006,2007 by Digi International Inc.
  5. * All rights reserved.
  6. *
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License version 2 as published by
  9. * the Free Software Foundation.
  10. */
  11. #include <asm/mach/arch.h>
  12. #include <asm/mach-types.h>
  13. #include <mach/processor-ns9360.h>
  14. #include "board-a9m9750dev.h"
  15. #include "generic.h"
  16. static void __init mach_cc9p9360dev_map_io(void)
  17. {
  18. ns9360_map_io();
  19. board_a9m9750dev_map_io();
  20. }
  21. static void __init mach_cc9p9360dev_init_irq(void)
  22. {
  23. ns9xxx_init_irq();
  24. board_a9m9750dev_init_irq();
  25. }
  26. static void __init mach_cc9p9360dev_init_machine(void)
  27. {
  28. ns9xxx_init_machine();
  29. board_a9m9750dev_init_machine();
  30. }
  31. MACHINE_START(CC9P9360DEV, "Digi ConnectCore 9P 9360 on an A9M9750 Devboard")
  32. .map_io = mach_cc9p9360dev_map_io,
  33. .init_irq = mach_cc9p9360dev_init_irq,
  34. .init_machine = mach_cc9p9360dev_init_machine,
  35. .timer = &ns9360_timer,
  36. .boot_params = 0x100,
  37. MACHINE_END