bf561-acvilon.c 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. * File: board/bf561-acvilon/bf561-acvilon.c
  3. * Based on: board/bf561-ezkit/bf561-ezkit.c
  4. * Author:
  5. *
  6. * Created: 2009-06-23
  7. * Description: Acvilon System On Module board file
  8. *
  9. * Modified:
  10. * Copyright 2009 CJSC "NII STT", http://www.niistt.ru/
  11. * Copyright (c) 2005-2008 Analog Devices Inc.
  12. *
  13. * (C) Copyright 2000-2004
  14. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  15. *
  16. * Bugs:
  17. *
  18. * This program is free software; you can redistribute it and/or modify
  19. * it under the terms of the GNU General Public License as published by
  20. * the Free Software Foundation; either version 2 of the License, or
  21. * (at your option) any later version.
  22. *
  23. * This program is distributed in the hope that it will be useful,
  24. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  25. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  26. * GNU General Public License for more details.
  27. *
  28. * You should have received a copy of the GNU General Public License
  29. * along with this program; if not, see the file COPYING, or write
  30. * to the Free Software Foundation, Inc.,
  31. * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  32. */
  33. #include <common.h>
  34. #include <netdev.h>
  35. DECLARE_GLOBAL_DATA_PTR;
  36. int checkboard(void)
  37. {
  38. printf("Board: CJSC \"NII STT\"-=Acvilon Platform=- [U-Boot]\n");
  39. printf(" Support: http://www.niistt.ru/\n");
  40. return 0;
  41. }
  42. phys_size_t initdram(int board_type)
  43. {
  44. gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
  45. gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE;
  46. return gd->bd->bi_memsize;
  47. }
  48. #ifdef CONFIG_SMC911X
  49. int board_eth_init(bd_t *bis)
  50. {
  51. return smc911x_initialize(0, CONFIG_SMC911X_BASE);
  52. }
  53. #endif