migo_r.c 604 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 <netdev.h>
  13. #include <asm/io.h>
  14. #include <asm/processor.h>
  15. int checkboard(void)
  16. {
  17. puts("BOARD: Renesas MigoR\n");
  18. return 0;
  19. }
  20. int board_init(void)
  21. {
  22. return 0;
  23. }
  24. void led_set_state (unsigned short value)
  25. {
  26. }
  27. #ifdef CONFIG_CMD_NET
  28. int board_eth_init(bd_t *bis)
  29. {
  30. int rc = 0;
  31. #ifdef CONFIG_SMC91111
  32. rc = smc91111_initialize(0, CONFIG_SMC91111_BASE);
  33. #endif
  34. return rc;
  35. }
  36. #endif