summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/clocks-init.c
diff options
context:
space:
mode:
authorSteven Miao <realmz6@gmail.com>2012-05-16 17:49:52 +0800
committerBob Liu <lliubbo@gmail.com>2012-05-21 14:54:13 +0800
commit969003152aa9085e50ce23822c60fab82222ecef (patch)
treeab12a8c8bf20706d624ef7ad6b540cc8776d954f /arch/blackfin/mach-common/clocks-init.c
parentb5affb0147cee0ea05d909396f8e389092729236 (diff)
downloadlinux-969003152aa9085e50ce23822c60fab82222ecef.tar.gz
linux-969003152aa9085e50ce23822c60fab82222ecef.tar.bz2
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
}