mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
Fix to make the baudrate changes immediate for the MCF52x2 family.
This commit is contained in:
@ -248,7 +248,7 @@ int _do_setenv (int flag, int argc, char *argv[])
|
||||
baudrate);
|
||||
udelay(50000);
|
||||
gd->baudrate = baudrate;
|
||||
#ifdef CONFIG_PPC
|
||||
#if defined(CONFIG_PPC) || defined(CONFIG_MCF52x2)
|
||||
gd->bd->bi_baudrate = baudrate;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user