ARM: AT91: DT: pm: Select ram controller standby based on DT
Move non-dt selection to ioremap_registers init which is only called not non-dt board. So we can support sam9n12/sam9x5/sama5d3 too. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
This commit is contained in:

committed by
Daniel Lezcano

parent
2d2c476f3c
commit
6b625891c6
@@ -371,6 +371,7 @@ static void __init at91sam9g45_ioremap_registers(void)
|
||||
at91sam926x_ioremap_pit(AT91SAM9G45_BASE_PIT);
|
||||
at91sam9_ioremap_smc(0, AT91SAM9G45_BASE_SMC);
|
||||
at91_ioremap_matrix(AT91SAM9G45_BASE_MATRIX);
|
||||
at91_pm_set_standby(at91_ddr_standby);
|
||||
}
|
||||
|
||||
static void __init at91sam9g45_initialize(void)
|
||||
@@ -380,8 +381,6 @@ static void __init at91sam9g45_initialize(void)
|
||||
|
||||
/* Register GPIO subsystem */
|
||||
at91_gpio_init(at91sam9g45_gpio, 5);
|
||||
|
||||
at91_pm_set_standby(at91_ddr_standby);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user