Revision 4b3fedf3 hw/omap_sx1.c
b/hw/omap_sx1.c | ||
---|---|---|
32 | 32 |
#include "arm-misc.h" |
33 | 33 |
#include "flash.h" |
34 | 34 |
#include "blockdev.h" |
35 |
#include "exec-memory.h" |
|
35 | 36 |
|
36 | 37 |
/*****************************************************************************/ |
37 | 38 |
/* Siemens SX1 Cellphone V1 */ |
... | ... | |
121 | 122 |
const int version) |
122 | 123 |
{ |
123 | 124 |
struct omap_mpu_state_s *cpu; |
125 |
MemoryRegion *address_space = get_system_memory(); |
|
124 | 126 |
int io; |
125 | 127 |
static uint32_t cs0val = 0x00213090; |
126 | 128 |
static uint32_t cs1val = 0x00215070; |
... | ... | |
135 | 137 |
flash_size = flash2_size; |
136 | 138 |
} |
137 | 139 |
|
138 |
cpu = omap310_mpu_init(sx1_binfo.ram_size, cpu_model); |
|
140 |
cpu = omap310_mpu_init(address_space, sx1_binfo.ram_size, cpu_model);
|
|
139 | 141 |
|
140 | 142 |
/* External Flash (EMIFS) */ |
141 | 143 |
cpu_register_physical_memory(OMAP_CS0_BASE, flash_size, |
Also available in: Unified diff