* [PATCH] ARM OMAP: use SZ_*M constants in RAM device register functions
@ 2013-01-24 18:55 Antony Pavlov
2013-01-28 9:29 ` Antony Pavlov
0 siblings, 1 reply; 3+ messages in thread
From: Antony Pavlov @ 2013-01-24 18:55 UTC (permalink / raw)
To: barebox
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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM OMAP: use SZ_*M constants in RAM device register functions
2013-01-24 18:55 [PATCH] ARM OMAP: use SZ_*M constants in RAM device register functions Antony Pavlov
@ 2013-01-28 9:29 ` Antony Pavlov
2013-01-30 21:22 ` Sascha Hauer
0 siblings, 1 reply; 3+ messages in thread
From: Antony Pavlov @ 2013-01-28 9:29 UTC (permalink / raw)
To: barebox
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM OMAP: use SZ_*M constants in RAM device register functions
2013-01-28 9:29 ` Antony Pavlov
@ 2013-01-30 21:22 ` Sascha Hauer
0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2013-01-30 21:22 UTC (permalink / raw)
To: Antony Pavlov; +Cc: barebox
On Mon, Jan 28, 2013 at 01:29:18PM +0400, Antony Pavlov wrote:
> ping
Applied now.
Sascha
>
> 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
>
--
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 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-30 21:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-24 18:55 [PATCH] ARM OMAP: use SZ_*M constants in RAM device register functions Antony Pavlov
2013-01-28 9:29 ` Antony Pavlov
2013-01-30 21:22 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox