blob: 77e40ae15d0253452c93d729f20281a3c338448b [file] [log] [blame]
Mike Frysinger5bf58842010-12-17 15:28:43 -05001/*
Bin Meng75574052016-02-05 19:30:11 -08002 * U-Boot - main board file
Mike Frysinger5bf58842010-12-17 15:28:43 -05003 *
4 * Copyright (c) 2008-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
12int checkboard(void)
13{
14 printf("Board: ADI BF506F EZ-Kit board\n");
15 printf(" Support: http://blackfin.uclinux.org/\n");
16 return 0;
17}
18
19int board_early_init_f(void)
20{
21 bfin_write_EBIU_MODE(1);
22 SSYNC();
23 bfin_write_FLASH_CONTROL_CLEAR(1);
24 udelay(1);
25 bfin_write_FLASH_CONTROL_SET(1);
26 return 0;
27}