From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 3.mo2.mail-out.ovh.net ([46.105.58.226] helo=mo2.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T8Q5Q-0002os-RR for barebox@lists.infradead.org; Mon, 03 Sep 2012 06:24:42 +0000 Received: from mail21.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo2.mail-out.ovh.net (Postfix) with SMTP id 638B0DC3DFD for ; Mon, 3 Sep 2012 08:29:54 +0200 (CEST) From: Jean-Christophe PLAGNIOL-VILLARD Date: Mon, 3 Sep 2012 08:24:54 +0200 Message-Id: <1346653494-24187-1-git-send-email-plagnioj@jcrosoft.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/1] nhk8815: fix nand IO_DATA end resource To: barebox@lists.infradead.org introduce in commit 5f03074ea98b64b55c133b35ee144fdc909e6d69 resource: store 'end' instead of 'size' in struct resource Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- 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@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox