summaryrefslogtreecommitdiffstats
path: root/arch/mips/qemu/q-firmware.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/qemu/q-firmware.c')
-rw-r--r--arch/mips/qemu/q-firmware.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/qemu/q-firmware.c b/arch/mips/qemu/q-firmware.c
new file mode 100644
index 00000000000..5980f02b2df
--- /dev/null
+++ b/arch/mips/qemu/q-firmware.c
@@ -0,0 +1,7 @@
+#include <linux/init.h>
+#include <asm/bootinfo.h>
+
+void __init prom_init(void)
+{
+ add_memory_region(0x0<<20, 0x10<<20, BOOT_MEM_RAM);
+}