From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pb0-f41.google.com ([209.85.160.41]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Tzl1l-0007iM-0w for barebox@lists.infradead.org; Mon, 28 Jan 2013 09:29:21 +0000 Received: by mail-pb0-f41.google.com with SMTP id up7so848321pbc.0 for ; Mon, 28 Jan 2013 01:29:18 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1359053740-4793-1-git-send-email-antonynpavlov@gmail.com> References: <1359053740-4793-1-git-send-email-antonynpavlov@gmail.com> Date: Mon, 28 Jan 2013 13:29:18 +0400 Message-ID: From: Antony Pavlov List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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: Re: [PATCH] ARM OMAP: use SZ_*M constants in RAM device register functions To: barebox@lists.infradead.org ping On 24 January 2013 22:55, Antony Pavlov wrote: > Signed-off-by: Antony Pavlov > --- > arch/arm/boards/beaglebone/board.c | 2 +- > arch/arm/boards/omap343xdsp/board.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boards/beaglebone/board.c b/arch/arm/boards/beaglebone/board.c > index 830ff47..fda8031 100644 > --- a/arch/arm/boards/beaglebone/board.c > +++ b/arch/arm/boards/beaglebone/board.c > @@ -311,7 +311,7 @@ console_initcall(beaglebone_console_init); > > static int beaglebone_mem_init(void) > { > - omap_add_ram0(256 * 1024 * 1024); > + omap_add_ram0(SZ_256M); > > return 0; > } > diff --git a/arch/arm/boards/omap343xdsp/board.c b/arch/arm/boards/omap343xdsp/board.c > index 6dbbc4c..d894104 100644 > --- a/arch/arm/boards/omap343xdsp/board.c > +++ b/arch/arm/boards/omap343xdsp/board.c > @@ -620,7 +620,7 @@ console_initcall(sdp3430_console_init); > > static int sdp3430_mem_init(void) > { > - omap_add_ram0(128 * 1024 * 1024); > + omap_add_ram0(SZ_128M); > > return 0; > } > -- > 1.7.10.4 > -- Best regards, Antony Pavlov _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox