mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-08 03:23:32 -04:00
Blackfin: dont check baud if it wont actually get used
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
400f5778f3
commit
ee1d2001ea
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user