]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/fpga.h
board: ge: bx50v3: move FEC MAC address programming to driver
[people/ms/u-boot.git] / include / fpga.h
index e0d12981b283ea93f9e4ef9fcf66076e4cc5bbda..4d6da790b76a1a6a29f276cf8eaef32550c5c371 100644 (file)
@@ -46,6 +46,7 @@ typedef struct {                /* typedef fpga_desc */
 typedef enum {
        BIT_FULL = 0,
        BIT_PARTIAL,
+       BIT_NONE = 0xFF,
 } bitstream_type;
 
 /* root function definitions */
@@ -53,6 +54,7 @@ void fpga_init(void);
 int fpga_add(fpga_type devtype, void *desc);
 int fpga_count(void);
 const fpga_desc *const fpga_get_desc(int devnum);
+int fpga_is_partial_data(int devnum, size_t img_len);
 int fpga_load(int devnum, const void *buf, size_t bsize,
              bitstream_type bstype);
 int fpga_fsload(int devnum, const void *buf, size_t size,