This is to enable COM1 early.

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2299 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Ronald G. Minnich 2006-05-05 18:18:33 +00:00
parent 1656c18d76
commit 694d20e2d6
1 changed files with 3 additions and 2 deletions

View File

@ -190,12 +190,13 @@ static int cs5536_setup_onchipuart(void)
msr_t msr;
msr.lo = 2;
msr.hi = 0;
/* not sure what this is for, so comment it out ...
wrmsr(0x5140003a, msr);
/* This enables COM2, but that should be done elsewhere
wrmsr(0x5140003e, msr);
*/
/* enable COM1 */
wrmsr(0x5140003a, msr);
/* GPIO8 - UART1_TX */
/* Set: Output Enable (0x4) */
m = inl(GPIOL_OUTPUT_ENABLE);