blob: 504869d72a4a574cc7dfd09d669a37070679719e [file] [log] [blame]
Mike Frysinger581e97d2010-09-19 16:28:40 -04001/*
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/gpio.h>
12#include <asm/mach-common/bits/pll.h>
13
14int checkboard(void)
15{
16 printf("Board: ADI BF527 SDP board\n");
17 printf(" Support: http://blackfin.uclinux.org/\n");
18
19 /* Enable access to parallel flash */
20 gpio_request(GPIO_PG0, "parallel-flash");
21 gpio_direction_output(GPIO_PG0, 0);
22
23 return 0;
24}
25
26int misc_init_r(void)
27{
28 /* CLKIN Buffer Output Enable */
29 bfin_write_VR_CTL(bfin_read_VR_CTL() | CLKBUFOE);
30
31 return 0;
32}