]> git.dujemihanovic.xyz Git - u-boot.git/commit
powerpc: mpc8xx: Migrate to CONFIG_SYS_CLK_FREQ
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 4 Apr 2023 08:14:33 +0000 (10:14 +0200)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Wed, 5 Apr 2023 17:46:18 +0000 (19:46 +0200)
commit9750a245cd4aca96ff01152929bf72004029545c
tree44f87f168e4b83f2f47cdca3845ef58b5ba4ee6b
parenta25dcda452bf6a6de72764a8d990d72e5def643d
powerpc: mpc8xx: Migrate to CONFIG_SYS_CLK_FREQ

8xx has CONFIG_8xx_GCLK_FREQ which is similar to
CONFIG_SYS_CLK_FREQ, and doesn't set CONFIG_SYS_CLK_FREQ.

Due to that, get_board_sys_clk() returns 0.

Remove CONFIG_8xx_GCLK_FREQ and use CONFIG_SYS_CLK_FREQ instead.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
arch/powerpc/cpu/mpc8xx/Kconfig
arch/powerpc/cpu/mpc8xx/speed.c
configs/CMPC885_defconfig
configs/MCR3000_defconfig