[coreboot] Memory clock cycles - microseconds (us)

2008-06-09 Thread Joseph Smith
Hello, Does anyone know the mathematical formula for converting memory clock cycles into microseconds (us)?? Thanks, Joseph Smith Set-Top-Linux www.settoplinux.org -- coreboot mailing list coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] Memory clock cycles - microseconds (us)

2008-06-09 Thread Myles Watson
Hello, Does anyone know the mathematical formula for converting memory clock cycles into microseconds (us)?? 1 MHz means 1 million clock cycles per second, so 1 clock cycle per microsecond. 166 MHz - 166 clock cycles per microsecond. Thanks, Myles -- coreboot mailing list

Re: [coreboot] Memory clock cycles - microseconds (us)

2008-06-09 Thread Joseph Smith
On Mon, 9 Jun 2008 09:53:02 -0600, Myles Watson [EMAIL PROTECTED] wrote: Hello, Does anyone know the mathematical formula for converting memory clock cycles into microseconds (us)?? 1 MHz means 1 million clock cycles per second, so 1 clock cycle per microsecond. 166 MHz - 166 clock

Re: [coreboot] Memory clock cycles - microseconds (us)

2008-06-09 Thread Peter Stuge
On Mon, Jun 09, 2008 at 01:06:08PM -0400, Joseph Smith wrote: Does anyone know the mathematical formula for converting memory clock cycles into microseconds (us)?? 1 MHz means 1 million clock cycles per second, so 1 clock cycle per microsecond. 166 MHz - 166 clock cycles per

Re: [coreboot] Memory clock cycles - microseconds (us)

2008-06-09 Thread Joseph Smith
On Mon, 9 Jun 2008 19:14:32 +0200, Peter Stuge [EMAIL PROTECTED] wrote: On Mon, Jun 09, 2008 at 01:06:08PM -0400, Joseph Smith wrote: Does anyone know the mathematical formula for converting memory clock cycles into microseconds (us)?? 1 MHz means 1 million clock cycles per second, so

Re: [coreboot] Memory clock cycles - microseconds (us)

2008-06-09 Thread Peter Stuge
On Mon, Jun 09, 2008 at 01:36:29PM -0400, Joseph Smith wrote: Does anyone know the mathematical formula for converting memory clock cycles into microseconds (us)?? 1 MHz means 1 million clock cycles per second, so 1 clock cycle per microsecond. 166 MHz - 166 clock cycles per

Re: [coreboot] Memory clock cycles - microseconds (us)

2008-06-09 Thread Joseph Smith
On Mon, 9 Jun 2008 19:47:24 +0200, Peter Stuge [EMAIL PROTECTED] wrote: On Mon, Jun 09, 2008 at 01:36:29PM -0400, Joseph Smith wrote: Does anyone know the mathematical formula for converting memory clock cycles into microseconds (us)?? 1 MHz means 1 million clock cycles per second,

Re: [coreboot] Memory clock cycles - microseconds (us)

2008-06-09 Thread Peter Stuge
On Mon, Jun 09, 2008 at 05:48:11PM -0400, Joseph Smith wrote: On Mon, 9 Jun 2008 23:43:10 +0200, Peter Stuge [EMAIL PROTECTED] wrote: On Mon, Jun 09, 2008 at 03:15:46PM -0400, Joseph Smith wrote: How hard would it be to add a nanoseconds delay to delay.h? It would probably have to be a

Re: [coreboot] Memory clock cycles - microseconds (us)

2008-06-09 Thread Joseph Smith
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Stuge Sent: Monday, June 09, 2008 6:03 PM To: coreboot@coreboot.org Subject: Re: [coreboot] Memory clock cycles - microseconds (us) On Mon, Jun 09, 2008 at 05:48:11PM -0400, Joseph Smith

Re: [coreboot] Memory clock cycles - microseconds (us)

2008-06-09 Thread Peter Stuge
On Mon, Jun 09, 2008 at 09:37:45PM -0400, Joseph Smith wrote: See where I am going with this? Sorry, not at all. Of course it would be nice to not spend more time than neccessary on waits during RAM init. But nanosecond precision is more difficult than microsecond precision, and unless there

Re: [coreboot] Memory clock cycles - microseconds (us)

2008-06-09 Thread Tom Sylla
Busy wait is a loop of some number of NOP instructions, as opposed to relying on some CPU peripheral such as a timer to signal elapsed time. The number of NOP instructions has to be calculated from the current CPU frequency. That seems more complicated than it needs to be. Here is what I am