diff options
author | Michael Büsch <mb@bu3sch.de> | 2008-02-18 20:41:17 +0000 |
---|---|---|
committer | Michael Büsch <mb@bu3sch.de> | 2008-02-18 20:41:17 +0000 |
commit | 1d699f3198c9a5ac052d08058ffb845658314a8c (patch) | |
tree | 481b9fcf037b51dc8f306c4fa30b3262b69c8681 /target/linux/brcm47xx/patches-2.6.23/220-bcm5354.patch | |
parent | e97d74eaab4e0fe45f4e41b528fff3ca44186208 (diff) | |
download | mtk-20170518-1d699f3198c9a5ac052d08058ffb845658314a8c.zip mtk-20170518-1d699f3198c9a5ac052d08058ffb845658314a8c.tar.gz mtk-20170518-1d699f3198c9a5ac052d08058ffb845658314a8c.tar.bz2 |
ssb: Fix serial console on new 47xx devices.
SVN-Revision: 10485
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.patch | 16 |
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 ca31af9..c524c8f 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 @@ |