]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/fpga.h
Convert CONFIG_TWL4030_USB to Kconfig
[people/ms/u-boot.git] / include / fpga.h
index ef044e9362948762086d33b6d779dde39576cd68..4d6da790b76a1a6a29f276cf8eaef32550c5c371 100644 (file)
@@ -46,12 +46,15 @@ typedef struct {                /* typedef fpga_desc */
 typedef enum {
        BIT_FULL = 0,
        BIT_PARTIAL,
+       BIT_NONE = 0xFF,
 } bitstream_type;
 
 /* root function definitions */
 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,