Searched refs:s_last (Results 1 – 10 of 10) sorted by relevance
/u-boot/cmd/ |
A D | flash.c | 191 int *s_first, int *s_last, in flash_fill_sect_ranges() argument 234 s_last[bank] = sect; in flash_fill_sect_ranges() 238 if (s_last[bank] < 0) { in flash_fill_sect_ranges() 240 s_last[bank] = s_end; in flash_fill_sect_ranges() 248 if (s_last[bank] < s_first[bank]) { in flash_fill_sect_ranges() 254 sect = s_last[bank]; in flash_fill_sect_ranges() 261 } else if (s_last[bank] >= 0) { in flash_fill_sect_ranges() 407 s_first, s_last, &planned ); in flash_sect_erase() 419 info->start[s_last[bank] + 1] - 1, in flash_sect_erase() 422 s_last[bank]); in flash_sect_erase() [all …]
|
/u-boot/drivers/mtd/ |
A D | cfi_mtd.c | 30 int s_last = -1; in cfi_mtd_erase() local 39 s_last = sect; in cfi_mtd_erase() 43 s_last = sect; in cfi_mtd_erase() 48 if (s_first >= 0 && s_first <= s_last) { in cfi_mtd_erase() 52 error = flash_erase(fi, s_first, s_last); in cfi_mtd_erase()
|
A D | pic32_flash.c | 110 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() argument 122 if ((s_first < 0) || (s_first > s_last)) { in flash_erase() 128 for (sect = s_first; sect <= s_last; ++sect) { in flash_erase() 140 for (sect = s_first; sect <= s_last; sect++) { in flash_erase()
|
A D | st_smi.c | 532 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() argument 538 if ((s_first < 0) || (s_first > s_last)) { in flash_erase() 543 for (sect = s_first; sect <= s_last; ++sect) { in flash_erase() 554 for (sect = s_first; sect <= s_last; sect++) { in flash_erase()
|
A D | altera_qspi.c | 86 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() argument 95 instr.len = mtd->erasesize * (s_last + 1 - s_first); in flash_erase()
|
A D | cfi_flash.c | 1063 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() argument 1074 if (s_first < 0 || s_first > s_last) { in flash_erase() 1080 for (sect = s_first; sect <= s_last; ++sect) in flash_erase() 1090 for (sect = s_first; sect <= s_last; sect++) { in flash_erase()
|
/u-boot/board/freescale/m5253demo/ |
A D | flash.c | 180 int flash_erase(flash_info_t * info, int s_first, int s_last) in flash_erase() argument 187 if ((s_first < 0) || (s_first > s_last)) { in flash_erase() 209 for (sect = s_first; sect <= s_last; ++sect) { in flash_erase() 225 if ((s_last - s_first) == (CONFIG_SYS_SST_SECT - 1)) { in flash_erase() 267 for (sect = s_first; sect <= s_last; sect++) { in flash_erase()
|
/u-boot/board/cobra5272/ |
A D | flash.c | 133 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() argument 146 if ((s_first < 0) || (s_first > s_last)) { in flash_erase() 156 for (sect = s_first; sect <= s_last; ++sect) { in flash_erase() 179 for (sect = s_first; sect <= s_last && !ctrlc (); sect++) { in flash_erase()
|
/u-boot/arch/arm/mach-at91/arm926ejs/ |
A D | eflash.c | 207 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() argument 209 debug("erase first=%d last=%d\n", s_first, s_last); in flash_erase()
|
/u-boot/include/ |
A D | flash.h | 89 int flash_erase(flash_info_t *info, int s_first, int s_last);
|
Completed in 31 milliseconds