Skip to contentSkip to conversation

u-boot issue,tks~~~~

U-Boot 贾舵 1 participant 1 message Dec 11, 2015

lore
Share & tools
lore

贾舵

author
#0 lore raw

hi,

     in u-boot 2015-10 version
     I found a 'bug'

     cfi_flash.c --- flash_get_size() --- line 2222
    /* round up when converting to ms */
     info->write_tout = (tmp + 999) / 1000;

     this cause
     when open the '#define DEBUG'
     the function 'flash_status_check' will be 'timeout' !!!!,because 
'printf' waste some time.
     (s3c2440(soc)    am29lv160d(norflash)  405Mhz(FCLK) )


     reference to the nof flash,datesheet.
     I think the 'info->write_tout' unit is  'ms', it's no need to 

change......
just..
info->write_tout = tmp;
this is ok!

sorry,i am not goot at english!!!!!!