migo_r.c 607 B

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