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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux