From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?6LS+6Ii1?= Date: Fri, 11 Dec 2015 10:05:30 +0800 Subject: [U-Boot] u-boot issue,tks~~~~ Message-ID: <566A2F6A.6040008@syberos.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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!!!!!!