Stefan Reinauer (stefan.reinauer@coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3033
-gerrit
commit 816c6bce99efa6eaadb24007317e2d2d0f615017 Author: Stefan Reinauer reinauer@chromium.org Date: Fri Apr 5 13:51:11 2013 -0700
Fix read_option invocation in uart8250mem.c
read_option was unified between ramstage and romstage a while ago. However, it seems some invocations were not fixed accordingly. This patch switches uart8250mem.c to use the new scheme.
Change-Id: I03cef4f6ee9188a6412c61d7ed34fbaff808a32b Signed-off-by: Stefan Reinauer reinauer@google.com --- src/lib/uart8250mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/uart8250mem.c b/src/lib/uart8250mem.c index b98cb0e..8224843 100644 --- a/src/lib/uart8250mem.c +++ b/src/lib/uart8250mem.c @@ -116,7 +116,7 @@ u32 uart_mem_init(void) static const unsigned baud[8] = { 115200, 57600, 38400, 19200, 9600, 4800, 2400, 1200 }; unsigned b_index = 0; #if defined(__PRE_RAM__) - b_index = read_option(CMOS_VSTART_baud_rate, CMOS_VLEN_baud_rate, 0); + b_index = read_option(baud_rate, 0); b_index &= 7; uart_baud = baud[b_index]; #else