fpga.h 533 B

12345678910111213141516
  1. /*
  2. * (C) Copyright 2002
  3. * Rich Ireland, Enterasys Networks, rireland@enterasys.com.
  4. * Keith Outwater, keith_outwater@mvis.com.
  5. *
  6. * SPDX-License-Identifier: GPL-2.0+
  7. */
  8. /*
  9. * Virtex2 FPGA configuration support for the QUANTUM computer
  10. */
  11. int fpga_boot(unsigned char *fpgadata, int size);
  12. #define ERROR_FPGA_PRG_INIT_LOW -1 /* Timeout after PRG* asserted */
  13. #define ERROR_FPGA_PRG_INIT_HIGH -2 /* Timeout after PRG* deasserted */
  14. #define ERROR_FPGA_PRG_DONE -3 /* Timeout after programming */