From 59fc4db642bcf9c0a80785524e0740b03bfcacfe Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Thu, 27 Jul 2006 04:05:43 +0000 Subject: "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 --- src/southbridge/amd/cs5536/cs5536_early_setup.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/southbridge/amd/cs5536') 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); -- cgit v1.2.3