ps7_spl_init.c 512 B

123456789101112131415161718192021222324252627
  1. /*
  2. * (c) Copyright 2010-2017 Xilinx, Inc. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #include <asm/io.h>
  7. #include <asm/spl.h>
  8. #include <asm/arch/ps7_init_gpl.h>
  9. __weak int ps7_init(void)
  10. {
  11. /*
  12. * This function is overridden by the one in
  13. * board/xilinx/zynq/(platform)/ps7_init_gpl.c, if it exists.
  14. */
  15. return 0;
  16. }
  17. __weak int ps7_post_config(void)
  18. {
  19. /*
  20. * This function is overridden by the one in
  21. * board/xilinx/zynq/(platform)/ps7_init_gpl.c, if it exists.
  22. */
  23. return 0;
  24. }