]> git.sur5r.net Git - u-boot/blobdiff - drivers/fpga/fpga.c
cmd: fpga: Move fpga_loadbitstream to fpga.c
[u-boot] / drivers / fpga / fpga.c
index 43bdf4fd25c4548e6a6bcb904db0868656fb5f08..f0253bff0f653c12a936652c13835b8124cd25bd 100644 (file)
@@ -187,6 +187,15 @@ int fpga_add(fpga_type devtype, void *desc)
        return devnum;
 }
 
+/*
+ * Convert bitstream data and load into the fpga
+ */
+int __weak fpga_loadbitstream(unsigned long dev, char *fpgadata, size_t size)
+{
+       printf("Bitstream support not implemented for this FPGA device\n");
+       return FPGA_FAIL;
+}
+
 /*
  * Generic multiplexing code
  */