]> err.no Git - linux-2.6/commit
[MIPS] TX49x7: Fix reporting of the CPU name and PCI clock
authorSergei Shtylylov <sshtylyov@ru.mvista.com>
Sat, 4 Feb 2006 12:11:14 +0000 (15:11 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 7 Feb 2006 13:30:26 +0000 (13:30 +0000)
commitf09678af51caf93cbbb253b298be995e1145a577
tree62ae8ee7154fa82b1ed756030728009c1fcddeec
parentc226f2601f55010936f0f3c77ae167a02339f566
[MIPS] TX49x7: Fix reporting of the CPU name and PCI clock

I've noticed that PCI clock was incorrectly reported as 66 MHz while being
mere 33 MHz on RBTX4937 board -- this was due to the different encoding of
the PCI divisor field in CCFG register between TX4927 and TX4937 chips...

Also, RBTX49x7 was printed out as a CPU name (e.g., "CPU is RBTX4937");
and some debug printk() were duplicating each other...

Signed-off-by: Konstantin Baydarov <kbaidarov@ru.mvista.com>
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_prom.c
arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c
include/asm-mips/tx4927/tx4927_pci.h