diff options
Diffstat (limited to 'arch/powerpc/cpu/mpc8xx/video.c')
| -rw-r--r-- | arch/powerpc/cpu/mpc8xx/video.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/arch/powerpc/cpu/mpc8xx/video.c b/arch/powerpc/cpu/mpc8xx/video.c index 8d790b4e8..02cd0debc 100644 --- a/arch/powerpc/cpu/mpc8xx/video.c +++ b/arch/powerpc/cpu/mpc8xx/video.c @@ -793,7 +793,11 @@ static void video_encoder_init (void)  	/* Initialize the I2C */  	debug ("[VIDEO ENCODER] Initializing I2C bus...\n"); +#ifdef CONFIG_SYS_I2C +	i2c_init_all(); +#else  	i2c_init (CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); +#endif  #ifdef CONFIG_FADS  	/* Reset ADV7176 chip */ |