mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-09 20:56:16 +09: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
|
#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) {
|
if (BFIN_DEBUG_EARLY_SERIAL) {
|
||||||
serial_early_init();
|
serial_early_init();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user