[RFC 6/7] MIPS: qemu-malta: add KSEG0 memory region

Antony Pavlov antonynpavlov at gmail.com
Fri Jul 20 04:47:38 EDT 2012


As most of ELF files are linked to KSEG0,
we need declaration for memory region (KSEG0)
for loading ELF files.

Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 arch/mips/boards/qemu-malta/init.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/boards/qemu-malta/init.c b/arch/mips/boards/qemu-malta/init.c
index 0efc92a..1dd268f 100644
--- a/arch/mips/boards/qemu-malta/init.c
+++ b/arch/mips/boards/qemu-malta/init.c
@@ -34,6 +34,7 @@
 static int malta_mem_init(void)
 {
 	barebox_add_memory_bank("ram0", 0xa0000000, SZ_256M);
+	barebox_add_memory_bank("cram0", 0x80000000, SZ_256M);
 
 	return 0;
 }
-- 
1.7.10




More information about the barebox mailing list