at91sam9263.c 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * arch/arm/mach-at91/at91sam9263.c
  3. *
  4. * Copyright (C) 2007 Atmel Corporation.
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. */
  12. #include <asm/system_misc.h>
  13. #include <mach/hardware.h>
  14. #include "soc.h"
  15. #include "generic.h"
  16. /* --------------------------------------------------------------------
  17. * AT91SAM9263 processor initialization
  18. * -------------------------------------------------------------------- */
  19. static void __init at91sam9263_map_io(void)
  20. {
  21. at91_init_sram(0, AT91SAM9263_SRAM0_BASE, AT91SAM9263_SRAM0_SIZE);
  22. at91_init_sram(1, AT91SAM9263_SRAM1_BASE, AT91SAM9263_SRAM1_SIZE);
  23. }
  24. static void __init at91sam9263_initialize(void)
  25. {
  26. arm_pm_idle = at91sam9_idle;
  27. at91_sysirq_mask_rtt(AT91SAM9263_BASE_RTT0);
  28. at91_sysirq_mask_rtt(AT91SAM9263_BASE_RTT1);
  29. }
  30. AT91_SOC_START(at91sam9263)
  31. .map_io = at91sam9263_map_io,
  32. .init = at91sam9263_initialize,
  33. AT91_SOC_END