Searched refs:flash_map (Results 1 – 1 of 1) sorted by relevance
20 static struct map_info flash_map; variable96 flash_map.name = "phys_mapped_flash"; in octeon_flash_probe()97 flash_map.phys = region_cfg.s.base << 16; in octeon_flash_probe()98 flash_map.size = 0x1fc00000 - flash_map.phys; in octeon_flash_probe()100 flash_map.bankwidth = region_cfg.s.width + 1; in octeon_flash_probe()101 flash_map.virt = ioremap(flash_map.phys, flash_map.size); in octeon_flash_probe()103 "0x%08llx\n", flash_map.size >> 20, flash_map.phys); in octeon_flash_probe()104 WARN_ON(!map_bankwidth_supported(flash_map.bankwidth)); in octeon_flash_probe()105 flash_map.read = octeon_flash_map_read; in octeon_flash_probe()106 flash_map.write = octeon_flash_map_write; in octeon_flash_probe()[all …]