commit | 1c3f2c7270af0f4d805bba84288d7dd2c1853ff3 | [log] [tgz] |
---|---|---|
author | Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> | Wed Oct 28 11:19:08 2015 +0530 |
committer | Michal Simek <michal.simek@xilinx.com> | Wed Nov 04 14:49:51 2015 +0100 |
tree | d834e458842917c6a8467aa55796e2fdbd5e558b | |
parent | 83bf005710a1e01341de5e2f44a3ce082717e313 [diff] |
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>