[PATCH] S5PC110: Add OneNAND interrupt number

Artem Bityutskiy dedekind1 at gmail.com
Thu Aug 5 00:32:56 EDT 2010


On Tue, 2010-07-27 at 19:39 +0900, Kyungmin Park wrote:
> To use OneNAND interrupt at drivers, also extend DMA address to cover fully.
> 
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> ---
> diff --git a/arch/arm/mach-s5pv210/dev-onenand.c b/arch/arm/mach-s5pv210/dev-onenand.c
> index 34997b7..f8ede33 100644
> --- a/arch/arm/mach-s5pv210/dev-onenand.c
> +++ b/arch/arm/mach-s5pv210/dev-onenand.c
> @@ -27,9 +27,14 @@ static struct resource s5pc110_onenand_resources[] = {
>  	},
>  	[1] = {
>  		.start	= S5PC110_PA_ONENAND_DMA,
> -		.end	= S5PC110_PA_ONENAND_DMA + SZ_2K - 1,
> +		.end	= S5PC110_PA_ONENAND_DMA + SZ_8K - 1,
>  		.flags	= IORESOURCE_MEM,
>  	},
> +	[2] = {
> +		.start	= IRQ_ONENAND_AUDI,
> +		.end	= IRQ_ONENAND_AUDI,
> +		.flags	= IORESOURCE_IRQ,
> +	},
>  };

You do not expect this to go through the MTD tree, right?

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list