projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
README: replace reference to boards.cfg
[oweals/u-boot.git]
/
drivers
/
clk
/
mpc83xx_clk.c
diff --git
a/drivers/clk/mpc83xx_clk.c
b/drivers/clk/mpc83xx_clk.c
index 32d2db9edadbb290a7c3d037756ebd16f598a0db..4183db28455df5e5eb0676222ffe4c1efd428abf 100644
(file)
--- a/
drivers/clk/mpc83xx_clk.c
+++ b/
drivers/clk/mpc83xx_clk.c
@@
-6,7
+6,9
@@
#include <common.h>
#include <clk-uclass.h>
#include <common.h>
#include <clk-uclass.h>
+#include <clock_legacy.h>
#include <dm.h>
#include <dm.h>
+#include <vsprintf.h>
#include <dm/lists.h>
#include <dt-bindings/clk/mpc83xx-clk.h>
#include <asm/arch/soc.h>
#include <dm/lists.h>
#include <dt-bindings/clk/mpc83xx-clk.h>
#include <asm/arch/soc.h>
@@
-65,7
+67,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:
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:
case MPC83XX_CLK_CSB:
return true;
case MPC83XX_CLK_I2C2: