* [U-Boot] u-boot issue,tks~~~~
@ 2015-12-11 2:05 贾舵
0 siblings, 0 replies; only message in thread
From: 贾舵 @ 2015-12-11 2:05 UTC (permalink / raw)
To: u-boot
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!!!!!!
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-12-11 2:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-11 2:05 [U-Boot] u-boot issue,tks~~~~ 贾舵
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox