diff options
-rw-r--r-- | src/mainboard/scaleway/tagada/Kconfig | 1 | ||||
-rw-r--r-- | src/mainboard/scaleway/tagada/bmcinfo.c | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/scaleway/tagada/Kconfig b/src/mainboard/scaleway/tagada/Kconfig index 7b160e2d63..4d6a035753 100644 --- a/src/mainboard/scaleway/tagada/Kconfig +++ b/src/mainboard/scaleway/tagada/Kconfig @@ -22,6 +22,7 @@ config BOARD_SPECIFIC_OPTIONS select BOARD_ROMSIZE_KB_16384 select HAVE_ACPI_TABLES select CONSOLE_OVERRIDE_LOGLEVEL + select UART_OVERRIDE_BAUDRATE config MAINBOARD_DIR string diff --git a/src/mainboard/scaleway/tagada/bmcinfo.c b/src/mainboard/scaleway/tagada/bmcinfo.c index 9c58ac6b11..5ca736984d 100644 --- a/src/mainboard/scaleway/tagada/bmcinfo.c +++ b/src/mainboard/scaleway/tagada/bmcinfo.c @@ -20,6 +20,7 @@ #include <arch/early_variables.h> #include <console/console.h> +#include <console/uart.h> #include "bmcinfo.h" @@ -190,6 +191,15 @@ int bmcinfo_disable_nic1(void) /* Add override functions below */ +/* Override default uart baudrate */ +unsigned int get_uart_baudrate(void) +{ + int baudrate = bmcinfo_baudrate(); + if (baudrate) + return baudrate; + return 115200; +} + #if __CONSOLE_ENABLE__ /* Override default console loglevel */ int get_console_loglevel(void) |