gr_ep2s60.c 545 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * (C) Copyright 2008
  3. * Daniel Hellstrom, daniel@gaisler.com.
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #include <common.h>
  8. #include <netdev.h>
  9. #include <config.h>
  10. #include <asm/leon.h>
  11. int initdram(void)
  12. {
  13. /* Does not set gd->ram_size here */
  14. return 0;
  15. }
  16. int checkboard(void)
  17. {
  18. puts("Board: EP2S60 GRLIB\n");
  19. return 0;
  20. }
  21. int misc_init_r(void)
  22. {
  23. return 0;
  24. }
  25. #ifdef CONFIG_CMD_NET
  26. int board_eth_init(bd_t *bis)
  27. {
  28. int rc = 0;
  29. #ifdef CONFIG_SMC91111
  30. rc = smc91111_initialize(0, CONFIG_SMC91111_BASE);
  31. #endif
  32. return rc;
  33. }
  34. #endif