~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/board/bf506f-ezkit/bf506f-ezkit.c

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
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
}