patch-2.3.99-pre7 linux/arch/ppc/mbxboot/iic.c

Next file: linux/arch/ppc/mbxboot/m8260_tty.c
Previous file: linux/arch/ppc/mbxboot/head_8260.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/arch/ppc/mbxboot/iic.c linux/arch/ppc/mbxboot/iic.c
@@ -43,6 +43,15 @@
 	*/
 	while (cp->cp_cpcr & (CPM_CR_RST | CPM_CR_FLG));
 
+	/* Remove any microcode patches.  We will install our own
+	 * later.
+	 */
+	cp->cp_cpmcr1 = 0;
+	cp->cp_cpmcr2 = 0;
+	cp->cp_cpmcr3 = 0;
+	cp->cp_cpmcr4 = 0;
+	cp->cp_rccr = 0;
+
 	iip = (iic_t *)&cp->cp_dparam[PROFF_IIC];
 	i2c = (i2c8xx_t *)&(immap->im_i2c);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)