> +#ifdef CONFIG_PPC_85xx > + delay_val = 65536 / (fsl_get_sys_freq() / 2000000); > +#else > + delay_val = 1000000 / i2c->real_clk + 1; > +#endif Please don't add #ifdef for such things. You can make use of struct mpc_i2c_data and put a flag there.
Attachment:
signature.asc
Description: Digital signature