i2c: Instantiate I2C controllers when selected
authorMichal Simek <michal.simek@xilinx.com>
Tue, 27 Oct 2015 15:02:36 +0000 (16:02 +0100)
committerHeiko Schocher <hs@denx.de>
Wed, 28 Oct 2015 08:53:49 +0000 (09:53 +0100)
commit009902a871dcb1ad60e746280372f47d90f65353
tree6776b8e917bebb4ecd53f595b04c66138ad08efa
parent677f970bc62a661690b3431543d5a5d5e682ba70
i2c: Instantiate I2C controllers when selected

Do not enable both I2C controllers by default. Enable them only when
they are selected.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/zynq_i2c.c