]> git.sur5r.net Git - u-boot/commit
mx25: Fix imx_get_perclk()
authorBenoît Thébaudeau <benoit@wsystem.com>
Wed, 3 May 2017 09:59:04 +0000 (11:59 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 31 May 2017 08:14:17 +0000 (10:14 +0200)
commitf7c13e6a791b997e5b73f073db5f81864b882b61
treeaf75a4f5970d98ba940c18ea35281241bfdb04dd
parent4f425280fa718a88c436d16d88c2efd6a998943a
mx25: Fix imx_get_perclk()

imx_get_perclk() used the AHB clock as the clock source for all PER
clocks, but the USB PLL output can also be a PER clock source if the
corresponding PER CLK MUX bit is set in CCM.MCR.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
arch/arm/cpu/arm926ejs/mx25/generic.c