From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Robert_Deli=EBn?= Date: Fri, 8 Dec 2006 15:05:02 +0100 Subject: [U-Boot-Users] [PATCH] MIPS time.c fix Message-ID: <000501c71ad1$db488b00$dfdd9182@code1.emi.philips.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, The patch attached makes the MIPS timer function get_timer return time in CFG_HZ ticks, where CFG_HZ is set to 1000 per default. The functions get_ticks and get_tbclk still work using the actual number of COUNT register increments per second, which is equal to the cpu clock frequency for MIPS processors. With kind regards, Robert. -------------- next part -------------- A non-text attachment was scrubbed... Name: mips_timer.diff Type: application/octet-stream Size: 6180 bytes Desc: not available Url : http://lists.denx.de/pipermail/u-boot/attachments/20061208/16caceac/attachment.obj