summaryrefslogtreecommitdiff
path: root/src/southbridge/amd
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2006-07-27 04:05:43 +0000
committerRonald G. Minnich <rminnich@gmail.com>2006-07-27 04:05:43 +0000
commit59fc4db642bcf9c0a80785524e0740b03bfcacfe (patch)
tree73f5e04428846b09b19e01f2806b284925a66e73 /src/southbridge/amd
parentcb8eab482ff09ec256456312ef2d6e7710123551 (diff)
downloadcoreboot-59fc4db642bcf9c0a80785524e0740b03bfcacfe.tar.xz
"Hey Ron - Attached is a simple patch that enables the upper banks on the
UART. If the upper banks are enabled, then the Linux 8250 driver knows how to set baud speeds greater then 115200. This was prompted by David Woodhouse. Jordan" git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2348 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd')
-rw-r--r--src/southbridge/amd/cs5536/cs5536_early_setup.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/southbridge/amd/cs5536/cs5536_early_setup.c b/src/southbridge/amd/cs5536/cs5536_early_setup.c
index ab9725865e..5163ca6a15 100644
--- a/src/southbridge/amd/cs5536/cs5536_early_setup.c
+++ b/src/southbridge/amd/cs5536/cs5536_early_setup.c
@@ -190,7 +190,12 @@ static int cs5536_setup_onchipuart(void)
* MSR 0x51400021 bit [27:24]
*/
msr_t msr;
- msr.lo = 2;
+
+ /* Bit 1 = DEVEN (device enable)
+ * Bit 4 = EN_BANKS (allow access to the upper banks)
+ */
+
+ msr.lo = (1 << 4) | (1 << 1);
msr.hi = 0;
/* This enables COM2, but that should be done elsewhere
wrmsr(0x5140003e, msr);