]> git.sur5r.net Git - u-boot/blobdiff - include/fpga.h
phy: bcm6358-usbh: convert to use live dt
[u-boot] / include / fpga.h
index d768fb14171af5744b799e9e81f65e03ca95e6ab..f4440933531f41a5ac9a339119200a71bc968f20 100644 (file)
@@ -1,8 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * (C) Copyright 2002
  * Rich Ireland, Enterasys Networks, rireland@enterasys.com.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <linux/types.h>              /* for ulong typedef */
@@ -54,6 +53,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,