[U-Boot] u-boot issue,tks~~~~

贾舵 jiaduo at syberos.com
Fri Dec 11 03:05:30 CET 2015


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!!!!!!










More information about the U-Boot mailing list