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)
commit34ae2b2abb950e62e64721b14c6ee8c8794c1ca4
tree599456606dc1088646f534c7ed9a98ff6352e5fb
parentb20db903c80906c0ba4a2da708c398413a9f9845
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