spi_mpc83xx: use brg-frequency for SPI in QE
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 24 Jan 2008 15:40:03 +0000 (18:40 +0300)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 28 Jan 2008 14:32:57 +0000 (08:32 -0600)
In case of QE we can use brg-frequency (which is qeclk/2).
Thus no need to divide sysclk in the spi_mpc83xx.

This patch also adds code to use get_brgfreq() on QE chips.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

No differences found