Date: Thu, 16 Aug 2007 17:37:46 +0200 (CEST) From: =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@alpha-tierchen.de> To: imp@bsdimp.com Cc: arm@freebsd.org Subject: Re: main clock frequency Message-ID: <59999.192.168.1.2.1187278666.squirrel@webmail.alpha-tierchen.de>
next in thread | raw e-mail | index | archive | help
Wed, 13 Jun 2007 05:36:23 +0200 (CEST) Björn König wrote: > > in at91_pmc_attach you're assume a certain main clock frequency. Isn't it > > reasonable to read this value from the main clock frequency register if it > > is available? Tue, 12 Jun 2007 21:54:30 -0600 (MDT) M. Warner Losh wrote: > Yes. I think that's reasonable. I didn't do it because I didn't > think of it at the time I wrote the code. I talked with the hardware guys and they said that the content of the main clock frequency register is always inaccurate and should not be used for determining the main clock frequency if a quartz oscillator is present. They said the register might be useful for calibration in case an RC oscillator is connected. Regards Björn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59999.192.168.1.2.1187278666.squirrel>