|
@@ -25,8 +25,6 @@
|
|
|
#include "generic.h"
|
|
|
#include "clock.h"
|
|
|
|
|
|
-extern void at91sam9_alt_reset(void);
|
|
|
-
|
|
|
static struct map_desc at91sam9260_io_desc[] __initdata = {
|
|
|
{
|
|
|
.virtual = AT91_VA_BASE_SYS,
|
|
@@ -281,11 +279,6 @@ static struct at91_gpio_bank at91sam9260_gpio[] = {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
-static void at91sam9260_reset(void)
|
|
|
-{
|
|
|
- at91_sys_write(AT91_RSTC_CR, AT91_RSTC_KEY | AT91_RSTC_PROCRST | AT91_RSTC_PERRST);
|
|
|
-}
|
|
|
-
|
|
|
static void at91sam9260_poweroff(void)
|
|
|
{
|
|
|
at91_sys_write(AT91_SHDW_CR, AT91_SHDW_KEY | AT91_SHDW_SHDW);
|
|
@@ -329,11 +322,7 @@ void __init at91sam9260_initialize(unsigned long main_clock)
|
|
|
else
|
|
|
iotable_init(at91sam9260_sram_desc, ARRAY_SIZE(at91sam9260_sram_desc));
|
|
|
|
|
|
- if (cpu_is_at91sam9g20())
|
|
|
- at91_arch_reset = at91sam9_alt_reset;
|
|
|
- else
|
|
|
- at91_arch_reset = at91sam9260_reset;
|
|
|
-
|
|
|
+ at91_arch_reset = at91sam9_alt_reset;
|
|
|
pm_power_off = at91sam9260_poweroff;
|
|
|
at91_extern_irq = (1 << AT91SAM9260_ID_IRQ0) | (1 << AT91SAM9260_ID_IRQ1)
|
|
|
| (1 << AT91SAM9260_ID_IRQ2);
|