diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-03-04 22:00:46 -0600 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-03-04 22:00:46 -0600 |
commit | d50673ed97a7ce609cf62bcd40c57517ada31806 (patch) | |
tree | de1464fe1a4126be6b34762015afb8ad8a90a2f0 /arch/arm/mach-at91/at91sam9261.c | |
parent | ab15e0e80c02b8b9f3392a6173b9109348eed1c3 (diff) | |
parent | 7eca30aef7961e68ad74c0ef920546c2be7f6579 (diff) | |
download | linux-next-d50673ed97a7ce609cf62bcd40c57517ada31806.tar.gz |
Merge remote-tracking branch 'arm-soc/at91/base2+cleanup' into cleanup-base
Diffstat (limited to 'arch/arm/mach-at91/at91sam9261.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9261.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/arm/mach-at91/at91sam9261.c b/arch/arm/mach-at91/at91sam9261.c index ab76868f01f5..684c5dfd92ac 100644 --- a/arch/arm/mach-at91/at91sam9261.c +++ b/arch/arm/mach-at91/at91sam9261.c @@ -283,19 +283,15 @@ static void __init at91sam9261_ioremap_registers(void) { at91_ioremap_shdwc(AT91SAM9261_BASE_SHDWC); at91_ioremap_rstc(AT91SAM9261_BASE_RSTC); + at91_ioremap_ramc(0, AT91SAM9261_BASE_SDRAMC, 512); at91sam926x_ioremap_pit(AT91SAM9261_BASE_PIT); at91sam9_ioremap_smc(0, AT91SAM9261_BASE_SMC); -} - -static void at91sam9261_idle(void) -{ - at91_sys_write(AT91_PMC_SCDR, AT91_PMC_PCK); - cpu_do_idle(); + at91_ioremap_matrix(AT91SAM9261_BASE_MATRIX); } static void __init at91sam9261_initialize(void) { - arm_pm_idle = at91sam9261_idle; + arm_pm_idle = at91sam9_idle; arm_pm_restart = at91sam9_alt_restart; at91_extern_irq = (1 << AT91SAM9261_ID_IRQ0) | (1 << AT91SAM9261_ID_IRQ1) | (1 << AT91SAM9261_ID_IRQ2); |