From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeroen Hofstee Date: Wed, 17 Jun 2015 15:44:41 +0200 Subject: [U-Boot] Very slow fatload on bcm2835 In-Reply-To: <201506171243.05720.marex@denx.de> References: <20150611203514.2f83d4b3@north> <557F9FAE.3040602@wwwdotorg.org> <557FEA0F.9050303@suse.cz> <201506171243.05720.marex@denx.de> Message-ID: <558179C9.6000703@myspectrum.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Marek, - while (get_timer(bcm_host->last_write) < bcm_host->twoticks_delay) + while (timer_get_us() < bcm_host->last_write + bcm_host->twoticks_delay) ; Can this counter / the right side of the comparison not overflow? Regards, Jeroen