From 1babd652b42a4194449e17fcce1a4b869cdfd1bc Mon Sep 17 00:00:00 2001 From: mb Date: Mon, 18 Feb 2008 20:41:17 +0000 Subject: ssb: Fix serial console on new 47xx devices. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10485 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm47xx/patches-2.6.23/220-bcm5354.patch | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'target/linux/brcm47xx/patches-2.6.23/220-bcm5354.patch') 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 ca31af912..c524c8f3e 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 @@ -- cgit v1.2.3