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>
This commit is contained in:
Steven Miao
2012-05-16 17:49:52 +08:00
committed by Bob Liu
parent b5affb0147
commit 969003152a
6 changed files with 495 additions and 2 deletions

View File

@@ -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
}