]> git.dujemihanovic.xyz Git - u-boot.git/commit
i.MX7ULP: Change clock rate calculation for NIC1 BUS and EXT
authorYe Li <ye.li@nxp.com>
Mon, 22 Jul 2019 01:25:10 +0000 (01:25 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:35:16 +0000 (16:35 +0200)
commit971a71e114d00ceee7b486d4599d3c26756109fb
treedce83e5db4aab27577cb22e1261670aba2c6bc54
parentdf3572e93033d7620767ed6dc9790dceb110636c
i.MX7ULP: Change clock rate calculation for NIC1 BUS and EXT

On i.MX7ULP B0, there is change in NIC clock dividers architecture.
On A0, the NIC1 BUS and EXT dividers were in a chain with NIC1 DIV, but
on B0 they are parallel with NIC1 DIV. So now the dividers are independent.
This patch modifies the scg_nic_get_rate function according to this change.

Signed-off-by: Ye Li <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/mx7ulp/scg.c