i2c: fix init on generic board
authortrem <tremyfr@yahoo.fr>
Sat, 21 Sep 2013 16:13:34 +0000 (18:13 +0200)
committerHeiko Schocher <hs@denx.de>
Thu, 17 Oct 2013 05:20:24 +0000 (07:20 +0200)
commit815a76f2ef08b700da611645c9329f632b681491
tree0f2c46005a79399d10e242e37c0867bffae903ae
parent183acb700378a8cfc5d50a01a65de93fb2c24586
i2c: fix init on generic board

On generic board, the i2c init initialize only
one bus. But the new i2c subsystem allow to
manage severals i2c bus. So in the case, instead
of initializing a bus, we just set the current
i2c bus. The initialization will be done in
the i2c command.

Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
common/board_f.c