summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2006-04-23 19:21:12 +0000
committerRonald G. Minnich <rminnich@gmail.com>2006-04-23 19:21:12 +0000
commit2f1980026865af7b11f27257c36b61d897932186 (patch)
tree865287e8829ceb85b5a63014e2ad8dbd7cc57140 /src/southbridge
parentff8c08e2577ee82446a3b800509ae7786d375979 (diff)
downloadcoreboot-2f1980026865af7b11f27257c36b61d897932186.tar.xz
fix so that olpc uarts come up enabled.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2272 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/amd/cs5536/cs5536_early_setup.c9
1 files changed, 9 insertions, 0 deletions
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;