blob: 9180630ee74d4c0c35101e959e558b0375368152 [file] [log] [blame]
Michael Hennerich4c631012010-05-31 14:11:53 +00001/*
Bin Meng75574052016-02-05 19:30:11 -08002 * U-Boot - main board file
Michael Hennerich4c631012010-05-31 14:11:53 +00003 *
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
13int 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
20int misc_init_r(void)
21{
22 /* CLKIN Buffer Output Enable */
Mike Frysinger72450772010-07-25 17:19:36 -040023 bfin_write_VR_CTL(bfin_read_VR_CTL() | CLKBUFOE);
Michael Hennerich4c631012010-05-31 14:11:53 +000024 return 0;
25}