From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 7.mo3.mail-out.ovh.net ([46.105.57.200] helo=mo3.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SGMAk-0005Vy-Hs for barebox@lists.infradead.org; Sat, 07 Apr 2012 03:18:43 +0000 Received: from mail622.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo3.mail-out.ovh.net (Postfix) with SMTP id 217FCFF83C6 for ; Sat, 7 Apr 2012 05:19:31 +0200 (CEST) From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 7 Apr 2012 05:02:10 +0200 Message-Id: <1333767731-21927-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/2] at91rm9200ek: set maximum nor flash size To: barebox@lists.infradead.org it's 8MiB. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/boards/at91rm9200ek/init.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/boards/at91rm9200ek/init.c b/arch/arm/boards/at91rm9200ek/init.c index 6911447..3875f4a 100644 --- a/arch/arm/boards/at91rm9200ek/init.c +++ b/arch/arm/boards/at91rm9200ek/init.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include @@ -116,7 +117,7 @@ static int at91rm9200ek_devices_init(void) at91_add_device_eth(0, ðer_pdata); - add_cfi_flash_device(0, AT91_CHIPSELECT_0, 0, 0); + add_cfi_flash_device(0, AT91_CHIPSELECT_0, SZ_8M, 0); /* USB Host */ at91_add_device_usbh_ohci(&ek_usbh_data); ek_device_add_leds(); -- 1.7.9.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox