]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: zynq: Add missing i2c get_rate for fixing i2c SPL
authorHannes Schmelzer <hannes.schmelzer@br-automation.com>
Thu, 14 Feb 2019 07:54:42 +0000 (08:54 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 16 Apr 2019 09:51:34 +0000 (11:51 +0200)
commitf29a365a0b22355b3b9fa507467961228defab9c
treea4c39bb6b2cc67bac173910e7fc0854f9123e65a
parented2deb9043a935cf32548509abafc0240190059b
ARM: zynq: Add missing i2c get_rate for fixing i2c SPL

The commit '3da484d4bb384eb0bbbf2816987122e91461b1d2' did break I2C
support because requesting the clock for the I2C ip-block isn't
supported during SPL.

To fixup this we add support requesting clocks for:
- i2c0
- i2c1

Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/clk/clk_zynq.c