]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit42bd2cbe305871bbad72d22aef3ce3c6697c27d1
treec5f98dea06d7f484f422ad0c272c32b7e56a77a5
parentc1374f723a57ae80dc4ef6e779fc5815576292c8
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