]> git.sur5r.net Git - u-boot/commit
i2c: lpc32xx: use api to get hclk instead of fix value
authorSylvain Lemieux <slemieux@tycoint.com>
Mon, 27 Jul 2015 17:37:37 +0000 (13:37 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 17 Aug 2015 12:11:49 +0000 (08:11 -0400)
commitb395a996a65572a5e64d648ac4dc4d43a53ea38b
tree3a9991050f74b264317c3773fc2d490eb1d067fd
parent2783fe6903f58e4d18ba72f044fa9ebffc6df810
i2c: lpc32xx: use api to get hclk instead of fix value

The HCLK is not constant and can take different value; use the api function to get the value of the HCLK for the I2C clock high and low computation.

Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
drivers/i2c/lpc32xx_i2c.c