"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
This commit is contained in:
Ronald G. Minnich 2006-07-27 04:05:43 +00:00
parent cb8eab482f
commit 59fc4db642
1 changed files with 6 additions and 1 deletions

View File

@ -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);