diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2011-04-22 02:32:03 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2011-04-22 02:32:03 +0000 |
commit | f5ce87d10c2471f5ee9b51c41c9e2ce2bdc60645 (patch) | |
tree | 5a8b8ab89d650245bdca0d592dfa01146fcccad5 | |
parent | f349d55beb6d93aca4d49ac4515c5ef11bb58d8d (diff) |
fix typo ttys0_index -> b_index
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6540 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | src/lib/uart8250.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/uart8250.c b/src/lib/uart8250.c index cea400eddc..49dc59105b 100644 --- a/src/lib/uart8250.c +++ b/src/lib/uart8250.c @@ -101,7 +101,7 @@ void uart_init(void) #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]; |