summaryrefslogtreecommitdiffstats
path: root/init/noinitramfs.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-11-21 12:47:13 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 08:16:16 +1100
commit37a8023ce59bfc1fa24067fd94aee7b286f4c01b (patch)
treefda34215b46022c3ae121478ff172e331d9c0b17 /init/noinitramfs.c
parent984e976f5382ff09351ddd3b023937611396d739 (diff)
downloadlinux-37a8023ce59bfc1fa24067fd94aee7b286f4c01b.tar.bz2
[HIFN]: Improve PLL initialization
The current PLL initalization has a number of deficiencies: - uses fixed multiplier of 8, which overclocks the chip when using a reference clock that operates at frequencies above 33MHz. According to a comment in the BSD source, this is true for the external clock on almost all every board. - writes to a reserved bit - doesn't follow the initialization procedure specified in chapter 6.11.1 of the HIFN hardware users guide - doesn't allow to use the PCI clock This patch adds a module parameter to specify the reference clock (pci or external) and its frequency and uses that to calculate the optimum multiplier to reach the maximal speed. By default it uses the external clock and assumes a speed of 66MHz, which effectively halfs the frequency currently used. Signed-off-by: Patrick McHardy <kaber@trash.net> Acked-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'init/noinitramfs.c')
0 files changed, 0 insertions, 0 deletions