mach-nuc932evb.c 983 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * linux/arch/arm/mach-w90x900/mach-nuc910evb.c
  3. *
  4. * Based on mach-s3c2410/mach-smdk2410.c by Jonas Dietsche
  5. *
  6. * Copyright (C) 2008 Nuvoton technology corporation.
  7. *
  8. * Wan ZongShun <mcuos.com@gmail.com>
  9. *
  10. * This program is free software; you can redistribute it and/or
  11. * modify it under the terms of the GNU General Public License as
  12. * published by the Free Software Foundation;version 2 of the License.
  13. *
  14. */
  15. #include <linux/platform_device.h>
  16. #include <asm/mach/arch.h>
  17. #include <asm/mach/map.h>
  18. #include <asm/mach-types.h>
  19. #include <mach/map.h>
  20. #include "nuc932.h"
  21. static void __init nuc932evb_map_io(void)
  22. {
  23. nuc932_map_io();
  24. nuc932_init_clocks();
  25. nuc932_init_uartclk();
  26. }
  27. static void __init nuc932evb_init(void)
  28. {
  29. nuc932_board_init();
  30. }
  31. MACHINE_START(NUC932EVB, "NUC932EVB")
  32. /* Maintainer: Wan ZongShun */
  33. .boot_params = 0,
  34. .map_io = nuc932evb_map_io,
  35. .init_irq = nuc93x_init_irq,
  36. .init_machine = nuc932evb_init,
  37. .timer = &nuc93x_timer,
  38. MACHINE_END