Michael Hennerich | 37aac2d | 2010-05-31 14:11:53 +0000 | [diff] [blame] | 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 */ |
Mike Frysinger | d56b706 | 2010-07-25 17:19:36 -0400 | [diff] [blame] | 23 | bfin_write_VR_CTL(bfin_read_VR_CTL() | CLKBUFOE); |
Michael Hennerich | 37aac2d | 2010-05-31 14:11:53 +0000 | [diff] [blame] | 24 | return 0; |
| 25 | } |