migo_r.c 649 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2007
  4. * Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  5. *
  6. * Copyright (C) 2007
  7. * Kenati Technologies, Inc.
  8. *
  9. * board/MigoR/migo_r.c
  10. */
  11. #include <common.h>
  12. #include <init.h>
  13. #include <net.h>
  14. #include <netdev.h>
  15. #include <asm/io.h>
  16. #include <asm/processor.h>
  17. int checkboard(void)
  18. {
  19. puts("BOARD: Renesas MigoR\n");
  20. return 0;
  21. }
  22. int board_init(void)
  23. {
  24. return 0;
  25. }
  26. void led_set_state (unsigned short value)
  27. {
  28. }
  29. #ifdef CONFIG_CMD_NET
  30. int board_eth_init(struct bd_info *bis)
  31. {
  32. int rc = 0;
  33. #ifdef CONFIG_SMC91111
  34. rc = smc91111_initialize(0, CONFIG_SMC91111_BASE);
  35. #endif
  36. return rc;
  37. }
  38. #endif