Searched refs:addr_first (Results 1 – 3 of 3) sorted by relevance
/u-boot/cmd/ |
A D | flash.c | 154 *addr_first = simple_strtoul(arg1, &ep, 16); in addr_spec() 174 *addr_last = *addr_first + *addr_last - 1; in addr_spec() 225 if (addr_first > end) in flash_fill_sect_ranges() 230 if (addr_first == info->start[sect]) { in flash_fill_sect_ranges() 257 } else if (addr_first >= info->start[0] && addr_first < b_end) { in flash_fill_sect_ranges() 307 ulong bank, addr_first, addr_last; in do_flerase() local 352 argv[1], bank, addr_first, in do_flerase() 386 if (addr_first >= addr_last) in do_flerase() 452 ulong addr_first, addr_last; in do_protect() local 532 bank, addr_first, addr_last); in do_protect() [all …]
|
/u-boot/common/ |
A D | update.c | 140 if (addr_first < info->start[0]) in update_flash_protect() 141 addr_first = info->start[0]; in update_flash_protect() 147 if ((s >= addr_first) && (s <= addr_last)) in update_flash_protect() 177 static int update_flash(ulong addr_source, ulong addr_first, ulong size) in update_flash() argument 180 ulong addr_last = addr_first + size - 1; in update_flash() 186 if (addr_first >= addr_last) { in update_flash() 192 if (update_flash_protect(0, addr_first, addr_last) > 0) { in update_flash() 197 printf("Erasing 0x%08lx - 0x%08lx", addr_first, addr_last); in update_flash() 198 if (flash_sect_erase(addr_first, addr_last) > 0) { in update_flash() 204 if (flash_write((char *)addr_source, addr_first, size) > 0) { in update_flash() [all …]
|
/u-boot/include/ |
A D | flash.h | 90 int flash_sect_erase(ulong addr_first, ulong addr_last); 91 int flash_sect_protect(int flag, ulong addr_first, ulong addr_last);
|
Completed in 7 milliseconds