Michael Hennerich | 4c63101 | 2010-05-31 14:11:53 +0000 | [diff] [blame] | 1 | /* |
Bin Meng | 7557405 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 2 | * U-Boot - main board file |
Michael Hennerich | 4c63101 | 2010-05-31 14:11:53 +0000 | [diff] [blame] | 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 | 7245077 | 2010-07-25 17:19:36 -0400 | [diff] [blame] | 23 | bfin_write_VR_CTL(bfin_read_VR_CTL() | CLKBUFOE); |
Michael Hennerich | 4c63101 | 2010-05-31 14:11:53 +0000 | [diff] [blame] | 24 | return 0; |
| 25 | } |