From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH 2/4] MIPS: qemu-malta: use mips_add_ram0()
Date: Sat, 26 Jan 2013 20:52:38 +0400 [thread overview]
Message-ID: <1359219160-18500-3-git-send-email-antonynpavlov@gmail.com> (raw)
In-Reply-To: <1359219160-18500-1-git-send-email-antonynpavlov@gmail.com>
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
arch/mips/boards/qemu-malta/init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/mips/boards/qemu-malta/init.c b/arch/mips/boards/qemu-malta/init.c
index 28c23aa..fb4472f 100644
--- a/arch/mips/boards/qemu-malta/init.c
+++ b/arch/mips/boards/qemu-malta/init.c
@@ -20,7 +20,7 @@
#include <types.h>
#include <driver.h>
#include <init.h>
-#include <memory.h>
+#include <asm/memory.h>
#include <ns16550.h>
#include <mach/hardware.h>
#include <io.h>
@@ -30,7 +30,7 @@
static int malta_mem_init(void)
{
- barebox_add_memory_bank("ram0", 0xa0000000, SZ_256M);
+ mips_add_ram0(SZ_256M);
return 0;
}
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2013-01-26 16:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-26 16:52 [PATCH 0/4] MIPS: introduce ram0 regions register function Antony Pavlov
2013-01-26 16:52 ` [PATCH 1/4] " Antony Pavlov
2013-01-27 11:23 ` Sascha Hauer
[not found] ` <CAA4bVAFEMoEheftB=qJ7d1+yVOJDGMJG9+1xbGpPsQFTetWa_w@mail.gmail.com>
2013-01-28 9:10 ` Fwd: " Antony Pavlov
2013-01-26 16:52 ` Antony Pavlov [this message]
2013-01-26 16:52 ` [PATCH 3/4] MIPS: rzx50: use mips_add_ram0() Antony Pavlov
2013-01-26 16:52 ` [PATCH 4/4] MIPS: dlink-dir-320: " Antony Pavlov
2013-01-28 7:30 ` [PATCH 0/4] MIPS: introduce ram0 regions register function 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=1359219160-18500-3-git-send-email-antonynpavlov@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