summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-01-09 13:42:43 -0500
committerTom Rini <trini@konsulko.com>2020-01-09 13:42:43 -0500
commitc00bd81ae0d6eb1f94e26b31be3a64cadaa05bcb (patch)
treeb22ed421df354799a4b08ca2f4fa3cc3a02ae715 /drivers
parentd6b92b9742f125542dd0985976c3a6c560ed40fd (diff)
parentfddf876a8f56ff53d1354387ebf7fd3997189349 (diff)
downloadu-boot-c00bd81ae0d6eb1f94e26b31be3a64cadaa05bcb.tar.gz
Merge branch 'next' of https://gitlab.denx.de/u-boot/custodians/u-boot-mpc83xx
- A small PR with MC8309 fixes from Rasmus.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clk/mpc83xx_clk.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/clk/mpc83xx_clk.c b/drivers/clk/mpc83xx_clk.c
index cbccda5594..69c6207e49 100644
--- a/drivers/clk/mpc83xx_clk.c
+++ b/drivers/clk/mpc83xx_clk.c
@@ -66,7 +66,10 @@ static inline bool is_clk_valid(struct udevice *clk, int id)
case MPC83XX_CLK_DMAC:
return (type == SOC_MPC8308) || (type == SOC_MPC8309);
case MPC83XX_CLK_PCI:
- return mpc83xx_has_pci(type);
+ /*
+ * FIXME: implement proper support for this.
+ */
+ return 0 && mpc83xx_has_pci(type);
case MPC83XX_CLK_CSB:
return true;
case MPC83XX_CLK_I2C2: