Skip to content
Snippets Groups Projects
Commit ee1d2001 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: dont check baud if it wont actually get used


Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 400f5778
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,11 @@ static inline uint32_t serial_init(void)
}
#endif
uint32_t old_baud = serial_early_get_baud();
uint32_t old_baud;
if (BFIN_DEBUG_EARLY_SERIAL || CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_UART)
old_baud = serial_early_get_baud();
else
old_baud = CONFIG_BAUDRATE;
if (BFIN_DEBUG_EARLY_SERIAL) {
serial_early_init();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment