diff options
Diffstat (limited to 'src/lib/uart8250mem.c')
-rw-r--r-- | src/lib/uart8250mem.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/uart8250mem.c b/src/lib/uart8250mem.c index 8d85855f4c..1482142da0 100644 --- a/src/lib/uart8250mem.c +++ b/src/lib/uart8250mem.c @@ -118,9 +118,8 @@ u32 uart_mem_init(void) b_index &= 7; uart_baud = baud[b_index]; #else - if (get_option(&b_index, "baud_rate") == 0) { + if (get_option(&b_index, "baud_rate") == CB_SUCCESS) uart_baud = baud[b_index]; - } #endif #endif |