Skip to content

Commit 5d1ff76

Browse files
jk-ozlabsA. Patrick Williams III
authored andcommitted
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>
1 parent 70bff17 commit 5d1ff76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/usr/console/ast2400.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ namespace CONSOLE
242242
l_errl = writeSIOReg( 0x60, (g_uartBase >> 8) & 0xFF );
243243
if (l_errl) { break; }
244244

245-
l_errl = writeSIOReg( 61, (g_uartBase & 0xFF) );
245+
l_errl = writeSIOReg( 0x61, (g_uartBase & 0xFF) );
246246
if (l_errl) { break; }
247247

248248
// Set the SerIRQ

0 commit comments

Comments
 (0)