瀏覽代碼

* Patch by Martin Krause, 27 May 2004:
Fix a MPC5xxx I2C timing issue in i2c_probe().

* Patch by Leif Lindholm, 27 May 2004:
Fix board_init_f() for dbau1x00 board.

wdenk 21 年之前
父節點
當前提交
697037fe9b
共有 3 個文件被更改,包括 9 次插入2 次删除
  1. 6 0
      CHANGELOG
  2. 2 2
      board/dbau1x00/dbau1x00.c
  3. 1 0
      cpu/mpc5xxx/i2c.c

+ 6 - 0
CHANGELOG

@@ -2,6 +2,12 @@
 Changes since U-Boot 1.1.1:
 Changes since U-Boot 1.1.1:
 ======================================================================
 ======================================================================
 
 
+* Patch by Martin Krause, 27 May 2004:
+  Fix a MPC5xxx I2C timing issue in i2c_probe().
+
+* Patch by Leif Lindholm, 27 May 2004:
+  Fix board_init_f() for dbau1x00 board.
+
 * Patch by Imre Deak, 26 May 2004:
 * Patch by Imre Deak, 26 May 2004:
   On OMAP1610 platforms check if booting from RAM(CS0) or flash(CS3).
   On OMAP1610 platforms check if booting from RAM(CS0) or flash(CS3).
   Set flash base accordingly, and decide whether to do or skip board
   Set flash base accordingly, and decide whether to do or skip board

+ 2 - 2
board/dbau1x00/dbau1x00.c

@@ -104,17 +104,17 @@ int checkboard (void)
 		      CFG_PCMCIA_ATTR_BASE, /* Hi */
 		      CFG_PCMCIA_ATTR_BASE, /* Hi */
 		      0x3D000017,           /* Lo0 */
 		      0x3D000017,           /* Lo0 */
 		      0x3D200017);          /* Lo1 */
 		      0x3D200017);          /* Lo1 */
-#endif
+#endif	/* 0 */
 	write_one_tlb(22,                   /* index */
 	write_one_tlb(22,                   /* index */
 		      0x01ffe000,           /* Pagemask, 16 MB pages */
 		      0x01ffe000,           /* Pagemask, 16 MB pages */
 		      CFG_PCMCIA_MEM_ADDR,  /* Hi */
 		      CFG_PCMCIA_MEM_ADDR,  /* Hi */
 		      0x3E000017,           /* Lo0 */
 		      0x3E000017,           /* Lo0 */
 		      0x3E200017);          /* Lo1 */
 		      0x3E200017);          /* Lo1 */
+#endif	/* CONFIG_IDE_PCMCIA */
 
 
 	/* Release reset of ethernet PHY chips */
 	/* Release reset of ethernet PHY chips */
 	/* Always do this, because linux does not know about it */
 	/* Always do this, because linux does not know about it */
 	*phy = 3;
 	*phy = 3;
 
 
 	return 0;
 	return 0;
-#endif
 }
 }

+ 1 - 0
cpu/mpc5xxx/i2c.c

@@ -285,6 +285,7 @@ int i2c_probe(uchar chip)
 
 
 		if (! do_address(chip, 0)) {
 		if (! do_address(chip, 0)) {
 			mpc_reg_out(&regs->mcr, 0, I2C_STA);
 			mpc_reg_out(&regs->mcr, 0, I2C_STA);
+			udelay(500);
 			break;
 			break;
 		}
 		}