Blame view

board/tcm-bf518/tcm-bf518.c 691 Bytes
2aeda2d05   Harald Krapfenbauer   Blackfin: tcm-bf5...
1
  /*
a187559e3   Bin Meng   Use correct spell...
2
   * U-Boot - main board file
2aeda2d05   Harald Krapfenbauer   Blackfin: tcm-bf5...
3
4
5
6
7
8
9
10
11
12
13
   *
   * Copyright (c) 2008-2009 Analog Devices Inc.
   *
   * Licensed under the GPL-2 or later.
   */
  
  #include <common.h>
  #include <config.h>
  #include <net.h>
  #include <netdev.h>
  #include <asm/blackfin.h>
2aeda2d05   Harald Krapfenbauer   Blackfin: tcm-bf5...
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  #include <asm/mach-common/bits/otp.h>
  #include <asm/sdh.h>
  
  int checkboard(void)
  {
  	printf("Board: Bluetechnix TCM-BF518 board
  ");
  	printf("       Support: http://www.bluetechnix.com/
  ");
  	printf("                http://blackfin.uclinux.org/
  ");
  	return 0;
  }
  
  #if defined(CONFIG_BFIN_MAC)
2aeda2d05   Harald Krapfenbauer   Blackfin: tcm-bf5...
29
30
31
32
33
  int board_eth_init(bd_t *bis)
  {
  	return bfin_EMAC_initialize(bis);
  }
  #endif
2aeda2d05   Harald Krapfenbauer   Blackfin: tcm-bf5...
34
35
36
37
38
39
  #ifdef CONFIG_BFIN_SDH
  int board_mmc_init(bd_t *bis)
  {
  	return bfin_mmc_init(bis);
  }
  #endif