2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 #include <linux/firmware.h>
23 f_bit, /* only bitstream is supported */
31 m_systemmap, /* only system map is supported */
37 * xilinx fpgaimage information
38 * NOTE: use MAX_STR instead of dynamic alloc for simplicity
41 enum fmt_image fmt_img;
42 enum mdownload dmethod;
44 const struct firmware *fw_entry;
47 * the followings can be read from bitstream,
48 * but other image format should have as well
50 char filename[MAX_STR];