]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/bf527-ad7160-eval/bf527-ad7160-eval.c
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
[karo-tx-uboot.git] / board / bf527-ad7160-eval / bf527-ad7160-eval.c
1 /*
2  * U-boot - main board file
3  *
4  * Copyright (c) 2010 Analog Devices Inc.
5  *
6  * Licensed under the GPL-2 or later.
7  */
8
9 #include <common.h>
10 #include <asm/blackfin.h>
11 #include <asm/mach-common/bits/pll.h>
12
13 int checkboard(void)
14 {
15         printf("Board: ADI BF527 AD7160-EVAL board\n");
16         printf("       Support: http://blackfin.uclinux.org/\n");
17         return 0;
18 }
19
20 int misc_init_r(void)
21 {
22         /* CLKIN Buffer Output Enable */
23         bfin_write_VR_CTL(bfin_read_VR_CTL() | CLKBUFOE);
24         return 0;
25 }