xref: /openbmc/u-boot/board/armadeus/apf27/fpga.h (revision a7da6f8c)
1 /*
2  * (C) Copyright 2002-2013
3  * Eric Jarrige <eric.jarrige@armadeus.org>
4  *
5  * based on the files by
6  * Rich Ireland, Enterasys Networks, rireland@enterasys.com
7  * and
8  * Keith Outwater, keith_outwater@mvis.com
9  *
10  * SPDX-License-Identifier:     GPL-2.0+
11  */
12 extern void APF27_init_fpga(void);
13 
14 extern int fpga_pre_fn(int cookie);
15 extern int fpga_pgm_fn(int assert_pgm, int flush, int cookie);
16 extern int fpga_cs_fn(int assert_cs, int flush, int cookie);
17 extern int fpga_init_fn(int cookie);
18 extern int fpga_done_fn(int cookie);
19 extern int fpga_clk_fn(int assert_clk, int flush, int cookie);
20 extern int fpga_wr_fn(int assert_write, int flush, int cookie);
21 extern int fpga_rdata_fn(unsigned char *data, int cookie);
22 extern int fpga_wdata_fn(unsigned char data, int flush, int cookie);
23 extern int fpga_abort_fn(int cookie);
24 extern int fpga_post_fn(int cookie);
25 extern int fpga_busy_fn(int cookie);
26