Mike Frysinger | 7577aab | 2010-12-17 15:28:43 -0500 | [diff] [blame] | 1 | /* |
Bin Meng | a187559 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 2 | * U-Boot - main board file |
Mike Frysinger | 7577aab | 2010-12-17 15:28:43 -0500 | [diff] [blame] | 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 | |
| 12 | int 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 | |
| 19 | int 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 | } |