[PATCH] driver: fpga: Add support for loading FPGA bitstream from RAW partition
sieu.mun.tang at intel.com
sieu.mun.tang at intel.com
Fri Sep 2 03:52:41 CEST 2022
From: Tien Fong Chee <tien.fong.chee at intel.com>
Removed checking on filename, so that FPGA bitstream can be loaded
from pre-defined bitstream offset of RAW partition to program FPGA.
Signed-off-by: Tien Fong Chee <tien.fong.chee at intel.com>
Signed-off-by: Sieu Mun Tang <sieu.mun.tang at intel.com>
---
drivers/fpga/socfpga_arria10.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/fpga/socfpga_arria10.c b/drivers/fpga/socfpga_arria10.c
index d8089122af..3874b4a014 100644
--- a/drivers/fpga/socfpga_arria10.c
+++ b/drivers/fpga/socfpga_arria10.c
@@ -924,8 +924,7 @@ void fpgamgr_program(const void *buf, size_t bsize, u32 offset)
fpga_fsinfo.filename = get_fpga_filename();
- if (fpga_fsinfo.filename)
- socfpga_loadfs(&fpga_fsinfo, buf, bsize, offset);
+ socfpga_loadfs(&fpga_fsinfo, buf, bsize, offset);
}
#endif
--
2.25.1
More information about the U-Boot
mailing list