summaryrefslogtreecommitdiff
path: root/drivers/clk/mpc83xx_clk.c
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-08-21 10:18:53 -0600
committerTom Rini <[email protected]>2024-08-26 14:05:37 -0600
commit5f32aac98ec39bc3116bf6d3fbff8ebf2cf78919 (patch)
treeacdac7d1a3506d72cf72f24138260e64d276ab9a /drivers/clk/mpc83xx_clk.c
parent7670200d4b7bbb572290d0fb2ed9cd0fb1f989cc (diff)
global_data: Move pci_clk to m68k and powerpc
Only m68k and powerpc use this field, so move it to the arch-specific info, to reduce the size for other archs. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'drivers/clk/mpc83xx_clk.c')
-rw-r--r--drivers/clk/mpc83xx_clk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mpc83xx_clk.c b/drivers/clk/mpc83xx_clk.c
index a29ad0d7a68..a43fff2e7ed 100644
--- a/drivers/clk/mpc83xx_clk.c
+++ b/drivers/clk/mpc83xx_clk.c
@@ -358,7 +358,7 @@ static int mpc83xx_clk_probe(struct udevice *dev)
gd->mem_clk = priv->speed[MPC83XX_CLK_MEM];
if (mpc83xx_has_pci(type))
- gd->pci_clk = priv->speed[MPC83XX_CLK_PCI];
+ gd->arch.pci_clk = priv->speed[MPC83XX_CLK_PCI];
gd->cpu_clk = priv->speed[MPC83XX_CLK_CORE];
gd->bus_clk = priv->speed[MPC83XX_CLK_CSB];