aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-2.6.23/220-bcm5354.patch
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2008-02-18 20:41:17 +0000
committerMichael Büsch <mb@bu3sch.de>2008-02-18 20:41:17 +0000
commitae89ef9107278786ef90e46e5e5ef27112618e75 (patch)
treeae57ad725b069282ec674758e9f3a83b9005eb4a /target/linux/brcm47xx/patches-2.6.23/220-bcm5354.patch
parentd90da43e1fa74387271ae7a9242f7415301c672b (diff)
downloadupstream-ae89ef9107278786ef90e46e5e5ef27112618e75.tar.gz
upstream-ae89ef9107278786ef90e46e5e5ef27112618e75.tar.bz2
upstream-ae89ef9107278786ef90e46e5e5ef27112618e75.zip
ssb: Fix serial console on new 47xx devices.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10485 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-2.6.23/220-bcm5354.patch')
-rw-r--r--target/linux/brcm47xx/patches-2.6.23/220-bcm5354.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.23/220-bcm5354.patch b/target/linux/brcm47xx/patches-2.6.23/220-bcm5354.patch
index ca31af912a..c524c8f3e3 100644
--- a/target/linux/brcm47xx/patches-2.6.23/220-bcm5354.patch
+++ b/target/linux/brcm47xx/patches-2.6.23/220-bcm5354.patch
@@ -18,22 +18,6 @@
*n = chipco_read32(cc, SSB_CHIPCO_CLOCK_N);
*plltype = (cc->capabilities & SSB_CHIPCO_CAP_PLLT);
switch (*plltype) {
-@@ -387,7 +376,14 @@
- chipco_read32(cc, SSB_CHIPCO_CLOCK_M2));
- div = 1;
- } else {
-- if (cc->dev->id.revision >= 11) {
-+ if (cc->dev->id.revision == 20) {
-+ /* BCM5354 uses constant 25MHz clock */
-+ baud_base = 25000000;
-+ div = 48;
-+ /* Set the override bit so we don't divide it */
-+ chipco_write32(cc, SSB_CHIPCO_CORECTL,
-+ SSB_CHIPCO_CORECTL_UARTCLK0);
-+ } else if (cc->dev->id.revision >= 11) {
- /* Fixed ALP clock */
- baud_base = 20000000;
- div = 1;
--- files/drivers/ssb/driver_mipscore.c 2007-10-24 16:57:38.000000000 -0700
+++ linux-2.6.23.1/drivers/ssb/driver_mipscore.c 2007-10-27 13:29:36.000000000 -0700
@@ -160,6 +160,8 @@