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
10 * GNU General Public License for more details.
13 #include <linux/firmware.h>
18 f_bit, /* only bitstream is supported */
26 m_systemmap, /* only system map is supported */
32 * xilinx fpgaimage information
33 * NOTE: use MAX_STR instead of dynamic alloc for simplicity
36 enum fmt_image fmt_img;
37 enum mdownload dmethod;
39 const struct firmware *fw_entry;
42 * the followings can be read from bitstream,
43 * but other image format should have as well
45 char filename[MAX_STR];