]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/esd/pmc440/fpga.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / board / esd / pmc440 / fpga.h
CommitLineData
407843a5
MF
1/*
2 * (C) Copyright 2007
3 * Matthias Fuchs, esd gmbh germany, matthias.fuchs@esd-electronics.com
4 *
1a459660 5 * SPDX-License-Identifier: GPL-2.0+
407843a5
MF
6 */
7
8extern int pmc440_init_fpga(void);
9
10extern int fpga_pgm_fn(int assert_pgm, int flush, int cookie);
11extern int fpga_init_fn(int cookie);
12extern int fpga_err_fn(int cookie);
13extern int fpga_done_fn(int cookie);
14extern int fpga_clk_fn(int assert_clk, int flush, int cookie);
15extern int fpga_cs_fn(int assert_cs, int flush, int cookie);
16extern int fpga_wr_fn(int assert_write, int flush, int cookie);
17extern int fpga_wdata_fn (uchar data, int flush, int cookie);
18extern int fpga_read_data_fn(unsigned char *data, int cookie);
19extern int fpga_write_data_fn(unsigned char data, int flush, int cookie);
20extern int fpga_busy_fn(int cookie);
21extern int fpga_abort_fn(int cookie );
22extern int fpga_pre_config_fn(int cookie );
23extern int fpga_post_config_fn(int cookie );
24
25extern int ngcc_fpga_pgm_fn(int assert_pgm, int flush, int cookie);
26extern int ngcc_fpga_init_fn(int cookie);
27extern int ngcc_fpga_done_fn(int cookie);
28extern int ngcc_fpga_clk_fn(int assert_clk, int flush, int cookie);
29extern int ngcc_fpga_wr_fn(int assert_write, int flush, int cookie);
30extern int ngcc_fpga_pre_config_fn(int cookie );
31extern int ngcc_fpga_post_config_fn(int cookie );