| /qemu/hw/i386/ |
| A D | pc_sysfw.c | 117 for (i = 0; i < ARRAY_SIZE(pcms->flash); i++) { in pc_system_flash_cleanup_unused() 118 if (!qdev_is_realized(DEVICE(pcms->flash[i]))) { in pc_system_flash_cleanup_unused() 122 object_unparent(OBJECT(pcms->flash[i])); in pc_system_flash_cleanup_unused() 123 pcms->flash[i] = NULL; in pc_system_flash_cleanup_unused() 157 for (i = 0; i < ARRAY_SIZE(pcms->flash); i++) { in pc_system_flash_map() 160 system_flash = pcms->flash[i]; in pc_system_flash_map() 219 BlockBackend *pflash_blk[ARRAY_SIZE(pcms->flash)]; in pc_system_firmware_init() 227 for (i = 0; i < ARRAY_SIZE(pcms->flash); i++) { in pc_system_firmware_init() 228 pflash_cfi01_legacy_drive(pcms->flash[i], in pc_system_firmware_init() 230 pflash_blk[i] = pflash_cfi01_get_blk(pcms->flash[i]); in pc_system_firmware_init() [all …]
|
| /qemu/hw/xtensa/ |
| A D | xtfpga.c | 61 const XtfpgaFlashDesc *flash; member 179 board->flash->size / board->flash->sector_size); in xtfpga_flash_init() 231 PFlashCFI01 *flash = NULL; in xtfpga_init() local 449 if (flash) { in xtfpga_init() 454 if (board->flash->size - board->flash->boot_base < size) { in xtfpga_init() 455 size = board->flash->size - board->flash->boot_base; in xtfpga_init() 490 .flash = &lx60_flash, in xtfpga_lx60_init() 500 .flash = &lx60_flash, in xtfpga_lx60_nommu_init() 516 .flash = &lx200_flash, in xtfpga_lx200_init() 526 .flash = &lx200_flash, in xtfpga_lx200_nommu_init() [all …]
|
| /qemu/hw/nvram/ |
| A D | nrf51_nvm.c | 234 memory_region_flush_rom_device(&s->flash, value, in io_write() 247 memory_region_flush_rom_device(&s->flash, 0, s->flash_size); in io_write() 300 memory_region_flush_rom_device(&s->flash, offset, size); in flash_write() 340 if (!memory_region_init_rom_device(&s->flash, OBJECT(dev), &flash_ops, s, in nrf51_nvm_realize() 345 s->storage = memory_region_get_ram_ptr(&s->flash); in nrf51_nvm_realize() 346 sysbus_init_mmio(SYS_BUS_DEVICE(dev), &s->flash); in nrf51_nvm_realize()
|
| /qemu/hw/ssi/ |
| A D | npcm7xx_fiu.c | 107 NPCM7xxFIUFlash *flash) in npcm7xx_fiu_cs_index() argument 109 int index = flash - fiu->flash; in npcm7xx_fiu_cs_index() 513 s->flash = g_new0(NPCM7xxFIUFlash, s->cs_count); in npcm7xx_fiu_realize() 524 NPCM7xxFIUFlash *flash = &s->flash[i]; in npcm7xx_fiu_realize() local 525 flash->fiu = s; in npcm7xx_fiu_realize() 526 memory_region_init_io(&flash->direct_access, OBJECT(s), in npcm7xx_fiu_realize() 527 &npcm7xx_fiu_flash_ops, &s->flash[i], "flash", in npcm7xx_fiu_realize() 529 sysbus_init_mmio(sbd, &flash->direct_access); in npcm7xx_fiu_realize()
|
| /qemu/hw/display/ |
| A D | ssd0303.c | 60 int flash; member 125 s->flash = 0; in ssd0303_send() 128 s->flash = 1; in ssd0303_send() 245 if (s->flash) { in ssd0303_update_display() 289 VMSTATE_INT32(flash, ssd0303_state),
|
| /qemu/docs/system/arm/ |
| A D | aspeed.rst | 121 Booting from a flash image 126 * ``execute-in-place`` which emulates the boot from the CE0 flash 135 To boot the machine from the flash image, use an MTD drive : 142 To use other flash models, for instance a different FMC chip and a 149 When more flexibility is needed to define the flash devices, to use 150 different flash models or define all flash devices (up to 8), the 152 flash devices. 204 boot the ``rainier-bmc`` machine from a flash device (default being 208 the flash device with ``boot-emmc=false`` and let the machine use an 214 -drive file=flash.img,format=raw,if=mtd \ [all …]
|
| A D | mps2.rst | 8 FPGA again, can handle 4GB of RAM and has a USB controller and QSPI flash). 45 - AN524 remapping of low memory to either BRAM or to QSPI flash is 51 - QEMU does not model the QSPI flash in MPS3 boards as real QSPI 52 flash, but only as simple ROM, so attempting to rewrite the flash 57 - AN536 does not support enabling or disabling the flash and ATCM
|
| A D | collie.rst | 9 * NOR flash
|
| A D | musicpal.rst | 9 - 32 MB RAM, 256 KB SRAM, 8 MB flash.
|
| /qemu/hw/arm/ |
| A D | sbsa-ref.c | 107 PFlashCFI01 *flash[2]; member 316 sms->flash[0] = sbsa_flash_create1(sms, "sbsa.flash0", "pflash0"); in sbsa_flash_create() 317 sms->flash[1] = sbsa_flash_create1(sms, "sbsa.flash1", "pflash1"); in sbsa_flash_create() 320 static void sbsa_flash_map1(PFlashCFI01 *flash, in sbsa_flash_map1() argument 324 DeviceState *dev = DEVICE(flash); in sbsa_flash_map1() 349 sbsa_flash_map1(sms->flash[0], flashbase, flashsize, in sbsa_flash_map() 351 sbsa_flash_map1(sms->flash[1], flashbase + flashsize, flashsize, in sbsa_flash_map() 364 for (i = 0; i < ARRAY_SIZE(sms->flash); i++) { in sbsa_firmware_init() 365 pflash_cfi01_legacy_drive(sms->flash[i], in sbsa_firmware_init() 371 pflash_blk0 = pflash_cfi01_get_blk(sms->flash[0]); in sbsa_firmware_init() [all …]
|
| A D | stm32f100_soc.c | 103 memory_region_init_rom(&s->flash, OBJECT(dev_soc), "STM32F100.flash", in stm32f100_soc_realize() 106 "STM32F100.flash.alias", &s->flash, 0, FLASH_SIZE); in stm32f100_soc_realize() 107 memory_region_add_subregion(system_memory, FLASH_BASE_ADDRESS, &s->flash); in stm32f100_soc_realize()
|
| A D | omap_sx1.c | 108 MemoryRegion *flash = g_new(MemoryRegion, 1); in sx1_init() local 134 memory_region_init_rom(flash, NULL, "omap_sx1.flash0-0", flash_size, in sx1_init() 136 memory_region_add_subregion(address_space, OMAP_CS0_BASE, flash); in sx1_init()
|
| A D | npcm7xx_boards.c | 83 DeviceState *flash; in npcm7xx_connect_flash() local 86 flash = qdev_new(flash_type); in npcm7xx_connect_flash() 88 qdev_prop_set_drive(flash, "drive", blk_by_legacy_dinfo(dinfo)); in npcm7xx_connect_flash() 90 qdev_realize_and_unref(flash, BUS(fiu->spi), &error_fatal); in npcm7xx_connect_flash() 92 flash_cs = qdev_get_gpio_in_named(flash, SSI_GPIO_CS, 0); in npcm7xx_connect_flash()
|
| A D | stm32f205_soc.c | 116 memory_region_init_rom(&s->flash, OBJECT(dev_soc), "STM32F205.flash", in stm32f205_soc_realize() 119 "STM32F205.flash.alias", &s->flash, 0, FLASH_SIZE); in stm32f205_soc_realize() 121 memory_region_add_subregion(system_memory, FLASH_BASE_ADDRESS, &s->flash); in stm32f205_soc_realize()
|
| A D | stm32f405_soc.c | 124 memory_region_init_rom(&s->flash, OBJECT(dev_soc), "STM32F405.flash", in stm32f405_soc_realize() 131 "STM32F405.flash.alias", &s->flash, 0, in stm32f405_soc_realize() 134 memory_region_add_subregion(system_memory, FLASH_BASE_ADDRESS, &s->flash); in stm32f405_soc_realize()
|
| /qemu/docs/system/riscv/ |
| A D | sifive_u.rst | 25 * 1 ISSI 25WP256 flash 83 - start-in-flash 85 When given, QEMU's ROM codes jump to QSPI memory-mapped flash directly. 108 msel=6 means FSBL and SSBL are both on the QSPI flash. msel=11 means FSBL 226 To start U-Boot using the ``sifive_u`` machine, prepare an SPI flash image, or 255 SPI flash image has slightly different partition offsets, and the size has to 256 be 32 MiB to match the ISSI 25WP256 flash on the real board: 298 Changing msel= value to 6, allows booting U-Boot from the SPI flash: 315 case: ZSBL (in QEMU) loads U-Boot SPL from SD card or SPI flash to L2LIM, 320 without the needs of preparing the SPI flash or SD card images, an alternate
|
| A D | virt.rst | 18 * CFI parallel NOR flash memory 56 Using flash devices 59 By default, the first flash device (pflash0) is expected to contain 61 second flash device (pflash1) available to store configuration data. 74 the first flash device (pflash0) by additionally passing ``-bios
|
| /qemu/hw/loongarch/ |
| A D | virt.c | 101 lvms->flash[0] = virt_flash_create1(lvms, "virt.flash0", "pflash0"); in virt_flash_create() 105 static void virt_flash_map1(PFlashCFI01 *flash, in virt_flash_map1() argument 109 DeviceState *dev = DEVICE(flash); in virt_flash_map1() 113 blk = pflash_cfi01_get_blk(flash); in virt_flash_map1() 131 PFlashCFI01 *flash0 = lvms->flash[0]; in virt_flash_map() 132 PFlashCFI01 *flash1 = lvms->flash[1]; in virt_flash_map() 245 flash_mem = pflash_cfi01_get_memory(lvms->flash[0]); in fdt_add_flash_node() 249 flash_mem = pflash_cfi01_get_memory(lvms->flash[1]); in fdt_add_flash_node() 950 for (i = 0; i < ARRAY_SIZE(lvms->flash); i++) { in virt_firmware_init() 951 pflash_cfi01_legacy_drive(lvms->flash[i], in virt_firmware_init() [all …]
|
| /qemu/pc-bios/ |
| A D | petalogix-ml605.dts | 243 flash@86000000 { 247 compatible = "xlnx,axi-emc-1.01.a\0cfi-flash"; 302 xlnx,tpacc-ps-flash-0 = < 0x61a8 >; 303 xlnx,tpacc-ps-flash-1 = < 0x61a8 >; 304 xlnx,tpacc-ps-flash-2 = < 0x61a8 >; 305 xlnx,tpacc-ps-flash-3 = < 0x61a8 >;
|
| /qemu/include/hw/arm/ |
| A D | stm32f100_soc.h | 54 MemoryRegion flash; member
|
| A D | nrf51_soc.h | 43 MemoryRegion flash; member
|
| A D | stm32f205_soc.h | 65 MemoryRegion flash; member
|
| /qemu/include/hw/ssi/ |
| A D | npcm7xx_fiu.h | 63 NPCM7xxFIUFlash *flash; member
|
| /qemu/hw/avr/ |
| A D | atmega.h | 41 MemoryRegion flash; member
|
| /qemu/include/hw/nvram/ |
| A D | nrf51_nvm.h | 54 MemoryRegion flash; member
|