[coreboot] [commit] r6540 - trunk/src/lib
repository service
svn at coreboot.org
Fri Apr 22 04:32:04 CEST 2011
Author: stepan
Date: Fri Apr 22 04:32:03 2011
New Revision: 6540
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6540
Log:
fix typo ttys0_index -> b_index
Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
Modified:
trunk/src/lib/uart8250.c
Modified: trunk/src/lib/uart8250.c
==============================================================================
--- trunk/src/lib/uart8250.c Fri Apr 22 04:17:26 2011 (r6539)
+++ trunk/src/lib/uart8250.c Fri Apr 22 04:32:03 2011 (r6540)
@@ -101,7 +101,7 @@
#if defined(__PRE_RAM__)
b_index = read_option(CMOS_VSTART_baud_rate, CMOS_VLEN_baud_rate, 0);
b_index &= 7;
- div = divisor[ttys0_index];
+ div = divisor[b_index];
#else
if (get_option(&b_index, "baud_rate") == 0) {
div = divisor[b_index];
More information about the coreboot
mailing list