diff options
Diffstat (limited to 'src/drivers/uart/util.c')
-rw-r--r-- | src/drivers/uart/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/uart/util.c b/src/drivers/uart/util.c index e1b83ba59d..f0f885d532 100644 --- a/src/drivers/uart/util.c +++ b/src/drivers/uart/util.c @@ -13,14 +13,14 @@ #include <console/console.h> #include <console/uart.h> -#if CONFIG_USE_OPTION_TABLE +#if IS_ENABLED(CONFIG_USE_OPTION_TABLE) #include <option.h> #include "option_table.h" #endif unsigned int default_baudrate(void) { -#if !defined(__SMM__) && CONFIG_USE_OPTION_TABLE +#if !defined(__SMM__) && IS_ENABLED(CONFIG_USE_OPTION_TABLE) static const unsigned baud[8] = { 115200, 57600, 38400, 19200, 9600, 4800, 2400, 1200 }; unsigned b_index = 0; |