Searched refs:sect_cnt (Results 1 – 2 of 2) sorted by relevance
408 int sect_cnt; in fill_info() local449 sect_cnt = 0; in fill_info()459 if (sect_cnt >= CONFIG_SYS_MAX_FLASH_SECT) { in fill_info()463 info->start[sect_cnt] = base; in fill_info()465 sect_cnt++; in fill_info()468 info->sector_count = sect_cnt; in fill_info()
2072 flash_sect_t sect_cnt; in flash_get_size() local2174 sect_cnt = 0; in flash_get_size()2196 if (sect_cnt >= CONFIG_SYS_MAX_FLASH_SECT) { in flash_get_size()2200 info->start[sect_cnt] = in flash_get_size()2219 flash_write_cmd(info, sect_cnt, 0, in flash_get_size()2221 info->protect[sect_cnt] = in flash_get_size()2222 flash_isset(info, sect_cnt, in flash_get_size()2225 flash_write_cmd(info, sect_cnt, 0, in flash_get_size()2232 info->protect[sect_cnt] = 0; in flash_get_size()2243 info->protect[sect_cnt] = in flash_get_size()[all …]