|
@@ -21,7 +21,6 @@
|
|
#include <mach/cpu.h>
|
|
#include <mach/cpu.h>
|
|
#include <mach/at91cap9.h>
|
|
#include <mach/at91cap9.h>
|
|
#include <mach/at91_pmc.h>
|
|
#include <mach/at91_pmc.h>
|
|
-#include <mach/at91_rstc.h>
|
|
|
|
|
|
|
|
#include "soc.h"
|
|
#include "soc.h"
|
|
#include "generic.h"
|
|
#include "generic.h"
|
|
@@ -314,11 +313,6 @@ static struct at91_gpio_bank at91cap9_gpio[] __initdata = {
|
|
}
|
|
}
|
|
};
|
|
};
|
|
|
|
|
|
-static void at91cap9_restart(char mode, const char *cmd)
|
|
|
|
-{
|
|
|
|
- at91_sys_write(AT91_RSTC_CR, AT91_RSTC_KEY | AT91_RSTC_PROCRST | AT91_RSTC_PERRST);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
/* --------------------------------------------------------------------
|
|
/* --------------------------------------------------------------------
|
|
* AT91CAP9 processor initialization
|
|
* AT91CAP9 processor initialization
|
|
* -------------------------------------------------------------------- */
|
|
* -------------------------------------------------------------------- */
|
|
@@ -338,7 +332,7 @@ static void __init at91cap9_ioremap_registers(void)
|
|
|
|
|
|
static void __init at91cap9_initialize(void)
|
|
static void __init at91cap9_initialize(void)
|
|
{
|
|
{
|
|
- arm_pm_restart = at91cap9_restart;
|
|
|
|
|
|
+ arm_pm_restart = at91sam9g45_restart;
|
|
at91_extern_irq = (1 << AT91CAP9_ID_IRQ0) | (1 << AT91CAP9_ID_IRQ1);
|
|
at91_extern_irq = (1 << AT91CAP9_ID_IRQ0) | (1 << AT91CAP9_ID_IRQ1);
|
|
|
|
|
|
/* Register GPIO subsystem */
|
|
/* Register GPIO subsystem */
|