From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Subject: Re: [PATCH] ARM OMAP: use SZ_*M constants in RAM device register functions
Date: Mon, 28 Jan 2013 13:29:18 +0400 [thread overview]
Message-ID: <CAA4bVAHF=pyMC_puZJyUCGziExD58jbckDOYoFu_prDP0bOpMw@mail.gmail.com> (raw)
In-Reply-To: <1359053740-4793-1-git-send-email-antonynpavlov@gmail.com>
ping
On 24 January 2013 22:55, Antony Pavlov <antonynpavlov@gmail.com> wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
> ---
> 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
next prev parent reply other threads:[~2013-01-28 9:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-24 18:55 Antony Pavlov
2013-01-28 9:29 ` Antony Pavlov [this message]
2013-01-30 21:22 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAA4bVAHF=pyMC_puZJyUCGziExD58jbckDOYoFu_prDP0bOpMw@mail.gmail.com' \
--to=antonynpavlov@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox