diff options
author | Wolfgang Denk <wd@denx.de> | 2011-04-10 21:06:27 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-04-10 21:06:27 +0200 |
commit | a8708a86344794d7d9a25c71d2fe56b36563a0b5 (patch) | |
tree | c9b5d8218aec01c2518b544d1bf8a5b0269702ce /board/bf506f-ezkit/bf506f-ezkit.c | |
parent | 6ee1416e8184b4d9ebe6087d396a60bcecf3551c (diff) | |
parent | d1f3ac9ee4dfc1a43fb7a786548bf0b6f2780695 (diff) | |
download | u-boot-imx-a8708a86344794d7d9a25c71d2fe56b36563a0b5.zip u-boot-imx-a8708a86344794d7d9a25c71d2fe56b36563a0b5.tar.gz u-boot-imx-a8708a86344794d7d9a25c71d2fe56b36563a0b5.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
Diffstat (limited to 'board/bf506f-ezkit/bf506f-ezkit.c')
-rw-r--r-- | board/bf506f-ezkit/bf506f-ezkit.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/board/bf506f-ezkit/bf506f-ezkit.c b/board/bf506f-ezkit/bf506f-ezkit.c new file mode 100644 index 0000000..638500d --- /dev/null +++ b/board/bf506f-ezkit/bf506f-ezkit.c @@ -0,0 +1,27 @@ +/* + * U-boot - main board file + * + * Copyright (c) 2008-2010 Analog Devices Inc. + * + * Licensed under the GPL-2 or later. + */ + +#include <common.h> +#include <asm/blackfin.h> + +int checkboard(void) +{ + printf("Board: ADI BF506F EZ-Kit board\n"); + printf(" Support: http://blackfin.uclinux.org/\n"); + return 0; +} + +int board_early_init_f(void) +{ + bfin_write_EBIU_MODE(1); + SSYNC(); + bfin_write_FLASH_CONTROL_CLEAR(1); + udelay(1); + bfin_write_FLASH_CONTROL_SET(1); + return 0; +} |