socfpga_cyclone5.c 582 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Copyright (C) 2012 Altera Corporation <www.altera.com>
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #include <common.h>
  7. #include <asm/arch/reset_manager.h>
  8. #include <asm/io.h>
  9. #include <netdev.h>
  10. DECLARE_GLOBAL_DATA_PTR;
  11. /*
  12. * Print Board information
  13. */
  14. int checkboard(void)
  15. {
  16. puts("BOARD : Altera SOCFPGA Cyclone5 Board\n");
  17. return 0;
  18. }
  19. /*
  20. * Initialization function which happen at early stage of c code
  21. */
  22. int board_early_init_f(void)
  23. {
  24. return 0;
  25. }
  26. /*
  27. * Miscellaneous platform dependent initialisations
  28. */
  29. int board_init(void)
  30. {
  31. icache_enable();
  32. return 0;
  33. }