]> git.baikalelectronics.ru Git - uboot.git/commit
clk: mpc83xx: Fix clocks for mpc832x
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 3 Apr 2023 12:16:56 +0000 (14:16 +0200)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 6 Apr 2023 12:50:03 +0000 (14:50 +0200)
commite8f95aaa1417e95ee18aa3b602c6d99e36c320b2
tree599456606dc1088646f534c7ed9a98ff6352e5fb
parent0b5b88e71e5dee83b49f45104925a0e166f6d9ab
clk: mpc83xx: Fix clocks for mpc832x

gd->arch.sdhc_clk only exists when CONFIG_FSL_ESDHC is set,
so enclose it inside ifdefs.

gd->arch.qe_clk and gd->arch.brg_clk must be populated when
CONFIG_QE is set.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
drivers/clk/mpc83xx_clk.c