Lines Matching refs:detected
235 debug("Number of flash banks detected: %d\n", cfi_flash_num_flash_banks);
273 int detected;
276 detected = -1;
285 if((size == conf[i].size) && (i == detected + 1))
286 detected = i;
288 debug("Trying %ld x %ld (%ld MiB) at addr %p, detected: %ld MiB\n",
296 if(detected == -1){
304 conf[detected].row, conf[detected].col, conf[detected].size >> 20, base);
306 /* configure cs ro detected params */
307 set_cs_config(cs, CSCONFIG_EN | conf[detected].row |
308 conf[detected].col);
310 set_cs_bounds(cs, (long)base, conf[detected].size);
312 return(conf[detected].size);