소스 검색

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

Bartlomiej Sieka 18 년 전
부모
커밋
c84bad0ef6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      common/cmd_nvedit.c

+ 1 - 1
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