diff options
| author | Steve French <sfrench@us.ibm.com> | 2007-11-25 04:53:27 -0500 |
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2007-11-25 04:53:27 -0500 |
| commit | 058250a0d5886b4d96a195ecc7e3a75e2df5e4b1 (patch) | |
| tree | fb67e8f5258c6aa11d4e8c39650e23de7556b38d /arch/mips/qemu/q-firmware.c | |
| parent | cea218054ad277d6c126890213afde07b4eb1602 (diff) | |
| parent | 2ffbb8377c7a0713baf6644e285adc27a5654582 (diff) | |
Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'arch/mips/qemu/q-firmware.c')
| -rw-r--r-- | arch/mips/qemu/q-firmware.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/qemu/q-firmware.c b/arch/mips/qemu/q-firmware.c index c2239b417587..3ed43f416cd1 100644 --- a/arch/mips/qemu/q-firmware.c +++ b/arch/mips/qemu/q-firmware.c | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | #include <linux/string.h> | 2 | #include <linux/string.h> |
| 3 | #include <asm/addrspace.h> | 3 | #include <asm/addrspace.h> |
| 4 | #include <asm/bootinfo.h> | 4 | #include <asm/bootinfo.h> |
| 5 | #include <asm/io.h> | ||
| 6 | |||
| 7 | #define QEMU_PORT_BASE 0xb4000000 | ||
| 5 | 8 | ||
| 6 | void __init prom_init(void) | 9 | void __init prom_init(void) |
| 7 | { | 10 | { |
| @@ -15,4 +18,7 @@ void __init prom_init(void) | |||
| 15 | } else { | 18 | } else { |
| 16 | add_memory_region(0x0<<20, 0x10<<20, BOOT_MEM_RAM); | 19 | add_memory_region(0x0<<20, 0x10<<20, BOOT_MEM_RAM); |
| 17 | } | 20 | } |
| 21 | |||
| 22 | |||
| 23 | set_io_port_base(QEMU_PORT_BASE); | ||
| 18 | } | 24 | } |
