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








_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to