mx51: Fix I2C clock ID check
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Thu, 27 Sep 2012 10:24:13 +0000 (10:24 +0000)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:12 +0000 (11:54 -0700)
commitbe2f93b1ea03adc9409ae3243ae4c3b831f098ae
treee041ddc1d2032fdc144a11172ec3675c883bf487
parentd5fe220df4afb7dda1aeeced3635f7f745723685
mx51: Fix I2C clock ID check

There are only 2 I²C instances on i.MX51, but 3 on i.MX53.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/armv7/mx5/clock.c