From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reinhard Meyer Date: Sat, 22 Jan 2011 12:00:12 +0100 Subject: [U-Boot] [RFC] U-boot (was: ARM) timing code refactoring In-Reply-To: <4D3AAF63.1030600@free.fr> References: <4D3AAF63.1030600@free.fr> Message-ID: <4D3AB8BC.8060805@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Albert ARIBAUD, this is not an ARM local issue. The timeouts are used in generic drivers all around u-boot. Have a grep for get_timer, reset_timer... The most ugly use is with reset_timer involved, where the internal pseudo-tick is reset to zero, so all calls to get_timer are relative to that moment. We are looking at replacing all those occurrences of reset_timer and get_timer with "better" methods. Best Regards, Reinhard