blob: 638500d0c56ee3080abc88c852d27dac905b6848 [file] [log] [blame]
Mike Frysinger7577aab2010-12-17 15:28:43 -05001/*
2 * U-boot - main board file
3 *
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}