diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-01-24 09:45:25 -0800 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2012-01-24 09:49:26 -0800 |
commit | 431622d0b902af511c67914572d269db999b511a (patch) | |
tree | c14c77e21bcaf7a81dbc3f50bae15217d13cd118 /chip/lm4/uart.c | |
parent | c21f07e58e48144a97a844668aae68644f8e8dec (diff) | |
download | chrome-ec-431622d0b902af511c67914572d269db999b511a.tar.gz |
Fix UART1 (x86 COMx output) on link proto0
Signed-off-by: Randall Spangler <rspangler@chromium.org>
BUG=chrome-os-partner:7703
TEST=reboot; look for "Hello on UART1" message on UART1 (which is uart2 on servo)
Change-Id: Ie497af48e62c28174b69adca5bea52d2f68d494f
Diffstat (limited to 'chip/lm4/uart.c')
-rw-r--r-- | chip/lm4/uart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/lm4/uart.c b/chip/lm4/uart.c index c91742f64f..1282e42e6f 100644 --- a/chip/lm4/uart.c +++ b/chip/lm4/uart.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved. +/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -159,7 +159,7 @@ static void configure_gpio(void) /* UART0 RX and TX are GPIO PA0:1 alternate function 1 */ gpio_set_alternate_function(LM4_GPIO_A, 0x03, 1); /* UART1 RX and TX are GPIO PC4:5 alternate function 2 */ - gpio_set_alternate_function(LM4_GPIO_B, 0x03, 2); + gpio_set_alternate_function(LM4_GPIO_C, 0x30, 2); #else /* UART0 RX and TX are GPIO PA0:1 alternate function 1 */ gpio_set_alternate_function(LM4_GPIO_A, 0x03, 1); |