tcm-bf518.c 691 B

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