Home
last modified time | relevance | path

Searched refs:erase_size (Results 1 – 7 of 7) sorted by relevance

/external/u-boot/drivers/mtd/spi/
Dsandbox.c81 uint erase_size; member
289 sbsf->erase_size = sbsf->data->sector_size * in sandbox_sf_process_cmd()
292 sbsf->erase_size = 4 << 10; in sandbox_sf_process_cmd()
294 sbsf->erase_size = 64 << 10; in sandbox_sf_process_cmd()
473 if (sbsf->off & (sbsf->erase_size - 1)) { in sandbox_sf_xfer()
475 sbsf->cmd, sbsf->erase_size, in sandbox_sf_xfer()
482 sbsf->erase_size); in sandbox_sf_xfer()
493 ret = sandbox_erase_part(sbsf, sbsf->erase_size); in sandbox_sf_xfer()
Dspi_flash.c316 u32 erase_size, erase_addr; in spi_flash_cmd_erase_ops() local
320 erase_size = flash->erase_size; in spi_flash_cmd_erase_ops()
321 if (offset % erase_size || len % erase_size) { in spi_flash_cmd_erase_ops()
358 offset += erase_size; in spi_flash_cmd_erase_ops()
359 len -= erase_size; in spi_flash_cmd_erase_ops()
968 if (stm_is_locked_sr(flash, ofs - flash->erase_size, flash->erase_size, in stm_unlock()
1229 flash->erase_size = 4096 << flash->shift; in spi_flash_scan()
1234 flash->erase_size = flash->sector_size; in spi_flash_scan()
1238 flash->sector_size = flash->erase_size; in spi_flash_scan()
1310 print_size(flash->erase_size, ", total "); in spi_flash_scan()
Dsf_dataflash.c430 spi_flash->erase_size = pagesize; in add_dataflash()
435 print_size(spi_flash->erase_size, ", total "); in add_dataflash()
/external/u-boot/cmd/mvebu/
Dbubt.c264 (flash->erase_size - image_size % flash->erase_size); in spi_burn_image()
266 erase_bytes, erase_bytes / flash->erase_size); in spi_burn_image()
/external/ltp/testcases/kernel/fs/fs-bench/
Dmodaltr.sh60 modprobe $MTD_RAM total_size=32768 erase_size=256
/external/u-boot/include/
Dspi_flash.h75 u32 erase_size; member
/external/u-boot/tools/env/
Dfw_env.c61 ulong erase_size; /* device erase size */ member
80 #define DEVESIZE(i) envdevices[(i)].erase_size