From 2f1980026865af7b11f27257c36b61d897932186 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Sun, 23 Apr 2006 19:21:12 +0000 Subject: fix so that olpc uarts come up enabled. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2272 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/amd/cs5536/cs5536_early_setup.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/southbridge/amd') diff --git a/src/southbridge/amd/cs5536/cs5536_early_setup.c b/src/southbridge/amd/cs5536/cs5536_early_setup.c index ff31f76235..99cc5d28c5 100644 --- a/src/southbridge/amd/cs5536/cs5536_early_setup.c +++ b/src/southbridge/amd/cs5536/cs5536_early_setup.c @@ -155,6 +155,15 @@ static void dummy(void) { } +/* see page 412 of the cs5536 companion book */ +static int cs5536_setup_onchipuart(void) { + msr_t msr; + msr.lo = 2; + msr.hi = 0; + wrmsr(0x5160003a, msr); + wrmsr(0x5160003e, msr); +} + static int cs5536_early_setup(void) { msr_t msr; -- cgit v1.2.3