]> git.sur5r.net Git - u-boot/commit
zynq-common: Define CONFIG_SYS_I2C_ZYNQ based on board config
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Wed, 28 Oct 2015 05:49:08 +0000 (11:19 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 4 Nov 2015 13:49:51 +0000 (14:49 +0100)
commit1c3f2c7270af0f4d805bba84288d7dd2c1853ff3
treed834e458842917c6a8467aa55796e2fdbd5e558b
parent83bf005710a1e01341de5e2f44a3ce082717e313
zynq-common: Define CONFIG_SYS_I2C_ZYNQ based on board config

Enable CONFIG_SYS_I2C_ZYNQ only if it has either I2C0 or I2C1
enabled in a board config.This fixes the issue of i2c error
during board init if board specific doesnt have either I2C0
or I2C1.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/zynq-common.h