Revision 22ed1d34 hw/palm.c

b/hw/palm.c
206 206
    static uint32_t cs1val = 0x0000e1a0;
207 207
    static uint32_t cs2val = 0x0000e1a0;
208 208
    static uint32_t cs3val = 0xe1a0e1a0;
209
    ram_addr_t phys_flash;
210 209
    int rom_size, rom_loaded = 0;
211 210
    DisplayState *ds = get_displaystate();
212 211

  
......
214 213

  
215 214
    /* External Flash (EMIFS) */
216 215
    cpu_register_physical_memory(OMAP_CS0_BASE, flash_size,
217
                    (phys_flash = qemu_ram_alloc(flash_size)) | IO_MEM_ROM);
216
                    qemu_ram_alloc(flash_size) | IO_MEM_ROM);
218 217

  
219 218
    io = cpu_register_io_memory(static_readfn, static_writefn, &cs0val);
220 219
    cpu_register_physical_memory(OMAP_CS0_BASE + flash_size,

Also available in: Unified diff