summaryrefslogtreecommitdiffstats
path: root/src/usr/console
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2015-07-06 17:58:24 +0800
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-07-17 09:28:04 -0500
commit5d1ff7656b2b1b8e50d9f30b180ff3e10b3adf3e (patch)
tree810368be1b1cb245e5a60a4beccc9644dfdfef1b /src/usr/console
parent70bff178a4453a2bffdd981e121c7a515520da47 (diff)
downloadtalos-hostboot-5d1ff7656b2b1b8e50d9f30b180ff3e10b3adf3e.tar.gz
talos-hostboot-5d1ff7656b2b1b8e50d9f30b180ff3e10b3adf3e.zip
console/ast2400: Fix SIO address for SUART configuration
The SUART1 base address is at 60 hex, not 60 decimal. Luckily, we've been setting it (from g_uartBase) to the default value of 0xf8. Change-Id: If6e6a095871bee5b55355590a28087ccc2a6bf62 Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18941 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/console')
-rw-r--r--src/usr/console/ast2400.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/console/ast2400.C b/src/usr/console/ast2400.C
index b2b63c395..c463dcd61 100644
--- a/src/usr/console/ast2400.C
+++ b/src/usr/console/ast2400.C
@@ -242,7 +242,7 @@ namespace CONSOLE
l_errl = writeSIOReg( 0x60, (g_uartBase >> 8) & 0xFF );
if (l_errl) { break; }
- l_errl = writeSIOReg( 61, (g_uartBase & 0xFF) );
+ l_errl = writeSIOReg( 0x61, (g_uartBase & 0xFF) );
if (l_errl) { break; }
// Set the SerIRQ
OpenPOWER on IntegriCloud