This is to enable COM1 early.
authorRonald G. Minnich <rminnich@gmail.com>
Fri, 5 May 2006 18:18:33 +0000 (18:18 +0000)
committerRonald G. Minnich <rminnich@gmail.com>
Fri, 5 May 2006 18:18:33 +0000 (18:18 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2299 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/southbridge/amd/cs5536/cs5536_early_setup.c

index 710adccf7c0268d61f960c83aec0c9d98d0c837c..9f030c9710274249c8a9ebcd0686fc36d9c4b04e 100644 (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);