summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/clocks-init.c
diff options
context:
space:
mode:
authorSteven Miao2012-05-16 11:49:52 +0200
committerBob Liu2012-05-21 08:54:13 +0200
commit969003152aa9085e50ce23822c60fab82222ecef (patch)
treeab12a8c8bf20706d624ef7ad6b540cc8776d954f /arch/blackfin/mach-common/clocks-init.c
parentblackfin: add bf60x to current framework (diff)
downloadkernel-qcow2-linux-969003152aa9085e50ce23822c60fab82222ecef.tar.gz
kernel-qcow2-linux-969003152aa9085e50ce23822c60fab82222ecef.tar.xz
kernel-qcow2-linux-969003152aa9085e50ce23822c60fab82222ecef.zip
blackfin: bf60x: add clock support
Add clock support for bf60x. Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/mach-common/clocks-init.c')
-rw-r--r--arch/blackfin/mach-common/clocks-init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/blackfin/mach-common/clocks-init.c b/arch/blackfin/mach-common/clocks-init.c
index d5cfe611b778..1e6beca8d403 100644
--- a/arch/blackfin/mach-common/clocks-init.c
+++ b/arch/blackfin/mach-common/clocks-init.c
@@ -33,6 +33,8 @@ void init_clocks(void)
* in the middle of reprogramming things, and that'll screw us up.
* For example, any automatic DMAs left by U-Boot for splash screens.
*/
+
+#if 0
size_t i;
for (i = 0; i < MAX_DMA_CHANNELS; ++i) {
struct dma_register *dma = dma_io_base_addr[i];
@@ -93,4 +95,6 @@ void init_clocks(void)
#endif
do_sync();
bfin_read16(0);
+
+#endif
}