Searched refs:addr_first (Results 1 – 3 of 3) sorted by relevance
/external/u-boot/cmd/ |
D | flash.c | 147 addr_spec(char *arg1, char *arg2, ulong *addr_first, ulong *addr_last) in addr_spec() argument 152 *addr_first = simple_strtoul(arg1, &ep, 16); in addr_spec() 172 *addr_last = *addr_first + *addr_last - 1; in addr_spec() 188 flash_fill_sect_ranges (ulong addr_first, ulong addr_last, in flash_fill_sect_ranges() argument 204 (bank < CONFIG_SYS_MAX_FLASH_BANKS) && (addr_first <= addr_last); in flash_fill_sect_ranges() 223 if (addr_first > end) in flash_fill_sect_ranges() 228 if (addr_first == info->start[sect]) { in flash_fill_sect_ranges() 253 addr_first = (sect == s_end) ? b_end + 1: info->start[sect + 1]; in flash_fill_sect_ranges() 255 } else if (addr_first >= info->start[0] && addr_first < b_end) { in flash_fill_sect_ranges() 303 ulong bank, addr_first, addr_last; in do_flerase() local [all …]
|
/external/u-boot/common/ |
D | update.c | 102 static int update_flash_protect(int prot, ulong addr_first, ulong addr_last) in update_flash_protect() argument 138 if (addr_first < info->start[0]) in update_flash_protect() 139 addr_first = info->start[0]; in update_flash_protect() 145 if ((s >= addr_first) && (s <= addr_last)) in update_flash_protect() 175 static int update_flash(ulong addr_source, ulong addr_first, ulong size) in update_flash() argument 178 ulong addr_last = addr_first + size - 1; in update_flash() 184 if (addr_first >= addr_last) { in update_flash() 190 if (update_flash_protect(0, addr_first, addr_last) > 0) { in update_flash() 195 printf("Erasing 0x%08lx - 0x%08lx", addr_first, addr_last); in update_flash() 196 if (flash_sect_erase(addr_first, addr_last) > 0) { in update_flash() [all …]
|
/external/u-boot/include/ |
D | flash.h | 90 extern int flash_sect_erase (ulong addr_first, ulong addr_last); 91 extern int flash_sect_protect (int flag, ulong addr_first, ulong addr_last);
|