mpc83xx: pcie: Read the clock from registers
authorMario Six <mario.six@gdsys.cc>
Mon, 21 Jan 2019 08:17:55 +0000 (09:17 +0100)
committerMario Six <mario.six@gdsys.cc>
Tue, 21 May 2019 05:52:33 +0000 (07:52 +0200)
commitd0c625728bbf769dc17472ac6072fc353be327e8
treec5f98dea06d7f484f422ad0c272c32b7e56a77a5
parent21c1502a4a81904706b9883f523ec4a94aba880f
mpc83xx: pcie: Read the clock from registers

The MPC83xx DM timer driver disables arch.pciexp*_clk, and uses
clk_get_rate instead. But the legacy MPC83xx PCIe driver still uses
arch.pciexp*_clk for the clock.

Hence, read the PCIe clock from the registers in the legacy MPC83xx PCIe
driver.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
arch/powerpc/cpu/mpc83xx/pcie.c