Fix to make the baudrate changes immediate for the MCF52x2 family.

This commit is contained in:
Bartlomiej Sieka 2006-12-20 00:29:43 +01:00
parent daa6e418bc
commit c84bad0ef6

View file

@ -248,7 +248,7 @@ int _do_setenv (int flag, int argc, char *argv[])
baudrate); baudrate);
udelay(50000); udelay(50000);
gd->baudrate = baudrate; gd->baudrate = baudrate;
#ifdef CONFIG_PPC #if defined(CONFIG_PPC) || defined(CONFIG_MCF52x2)
gd->bd->bi_baudrate = baudrate; gd->bd->bi_baudrate = baudrate;
#endif #endif