cm-bf533.c 617 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * U-boot - main board file
  3. *
  4. * Copyright (c) 2005-2008 Analog Devices Inc.
  5. *
  6. * Licensed under the GPL-2 or later.
  7. */
  8. #include <common.h>
  9. #include <netdev.h>
  10. DECLARE_GLOBAL_DATA_PTR;
  11. int checkboard(void)
  12. {
  13. printf("Board: Bluetechnix CM-BF533 board\n");
  14. printf(" Support: http://www.bluetechnix.at/\n");
  15. return 0;
  16. }
  17. phys_size_t initdram(int board_type)
  18. {
  19. gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
  20. gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE;
  21. return gd->bd->bi_memsize;
  22. }
  23. #ifdef CONFIG_SMC91111
  24. int board_eth_init(bd_t *bis)
  25. {
  26. return smc91111_initialize(0, CONFIG_SMC91111_BASE);
  27. }
  28. #endif