]> git.sur5r.net Git - u-boot/commitdiff
Fix to make the baudrate changes immediate for the MCF52x2 family.
authorBartlomiej Sieka <tur@semihalf.com>
Tue, 19 Dec 2006 23:29:43 +0000 (00:29 +0100)
committerBartlomiej Sieka <tur@semihalf.com>
Tue, 19 Dec 2006 23:29:43 +0000 (00:29 +0100)
common/cmd_nvedit.c

index d3f50f87f352287a1dc1a082f3593697160da5d4..9834ba65b7daa687d60128544a95dbb4136a1c3d 100644 (file)
@@ -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