]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/bf506f-ezkit/bf506f-ezkit.c
Merge branch 'master' of git://git.denx.de/u-boot-tegra
[people/ms/u-boot.git] / board / bf506f-ezkit / bf506f-ezkit.c
CommitLineData
7577aab8
MF
1/*
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}