[PATCH] cpuidle: kirkwood: Move out of mach directory, add DT.

Florian Fainelli florian at openwrt.org
Sat Dec 29 01:32:08 EST 2012


Hello Andrew,

Le 12/28/12 13:47, Andrew Lunn a écrit :
> Move the Kirkwood cpuidle driver out of arch/arm/mach-kirkwood and
> into drivers/cpuidle. Convert the driver into a platform driver and
> add a device tree binding. Add a DT node to instantiate the driver for
> boards converted to DT, and a platform data for old style boards.
>
> Signed-off-by: Andrew Lunn <andrew at lunn.ch>
> ---

[snip]

>
> +/*****************************************************************************
> + * CPU idle
> + ****************************************************************************/
> +static struct resource kirkwood_cpuidle_resource[] = {
> +	{
> +		.flags	= IORESOURCE_MEM,
> +		.start	= DDR_OPERATION_BASE,
> +		.end	= 3,

Should not this be DDR_OPERATION_BASE + 3?
--
Florian


More information about the devicetree-discuss mailing list