[PATCH 1/1] nhk8815: fix nand IO_DATA end resource

Sascha Hauer s.hauer at pengutronix.de
Mon Sep 3 05:07:00 EDT 2012


On Mon, Sep 03, 2012 at 08:24:54AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> introduce in commit
> 5f03074ea98b64b55c133b35ee144fdc909e6d69
> resource: store 'end' instead of 'size' in struct resource
> 
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>

Applied, thanks

Sascha

> ---
>  arch/arm/boards/nhk8815/setup.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boards/nhk8815/setup.c b/arch/arm/boards/nhk8815/setup.c
> index ccc0510..5820114 100644
> --- a/arch/arm/boards/nhk8815/setup.c
> +++ b/arch/arm/boards/nhk8815/setup.c
> @@ -63,7 +63,7 @@ static struct resource nhk8815_nand_resources[] = {
>  		.flags	= IORESOURCE_MEM,
>  	}, {
>  		.start	= NAND_IO_DATA,
> -		.end	= NAND_IO_CMD + 0xfff,
> +		.end	= NAND_IO_DATA + 0xfff,
>  		.flags	= IORESOURCE_MEM,
>  	}
>  };
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list