Hi,
On 16/01/2015 at 02:44:39 +, Yang, Wenyou wrote :
> > - /* AT91RM9200 SDRAM low-power mode cannot be used with self-refresh.
> > */
> > - if (cpu_is_at91rm9200())
> > + at91_pm_data.memctrl = AT91_MEMCTRL_SDRAMC;
> > +
> > + if (of_machine_is_compatible("atmel,at91rm9200")) {
> > +
ernel@vger.kernel.org; Alexandre
> Belloni; Jean-Christophe Plagniol-Villard;
> linux-arm-ker...@lists.infradead.org
> Subject: [PATCH v2 1/8] ARM: at91: pm: rework cpu detection
>
> Store SoC differences in a struct to remove cpu_is_* usage.
>
> Signed-off-by: Alexandre Bell
Store SoC differences in a struct to remove cpu_is_* usage.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/pm.c | 54 ++---
1 file changed, 33 insertions(+), 21 deletions(-)
diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c
index
3 matches
Mail list logo