aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartlomiej Sieka2006-12-20 00:29:43 +0100
committerBartlomiej Sieka2006-12-20 00:29:43 +0100
commitc84bad0ef60e7055ab0bd49b93069509cecc382a (patch)
tree19903454efed654a684dcbefd70917b63bbf0ab0
parentdaa6e418bcc0c717752e8de939c213c790286096 (diff)
Fix to make the baudrate changes immediate for the MCF52x2 family.
-rw-r--r--common/cmd_nvedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index d3f50f87f35..9834ba65b7d 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -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