On Isn, 2017-09-25 at 11:03 +0200, Marek Vasut wrote: > On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee <tien.fong.c...@intel.com> > > > > Add code necessary into the FPGA driver framework in U-Boot > > so it can be used via the 'fpga' command for programing Arria 10 > > SoCFPGA. > > > > Signed-off-by: Tien Fong Chee <tien.fong.c...@intel.com> > > --- > [...] > > > > > +#if defined(CONFIG_CMD_FPGA_LOADFS) > > +int altera_loadfs(Altera_desc *desc, const void *buf, size_t > > bsize, > > + fpga_fs_info *fpga_fsinfo) > > +{ > > + const struct altera_fpga *fpga = altera_desc_to_fpga(desc, > > __func__); > > + > > + if (!fpga) > > + return FPGA_FAIL; > > + > > + debug_cond(FPGA_DEBUG, "%s: Launching the %s FS > > Loader...\n", > > + __func__, fpga->name); > > + if (fpga->loadfs) > > + return fpga->loadfs(desc, buf, bsize, > > fpga_fsinfo); > > + return 0; > return -EINVAL , since the loader could not be started ? > Okay. > > > > +} > > +#endif > [...] > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
- Re: [U-Boot] [PATCH v2 02/19] doc... Marek Vasut
- Re: [U-Boot] [PATCH v2 02/19]... Chee, Tien Fong
- Re: [U-Boot] [PATCH v2 02/19] doc: dtbinding: Desc... Marek Vasut
- Re: [U-Boot] [PATCH v2 02/19] doc: dtbinding: ... Chee, Tien Fong
- [U-Boot] [PATCH v2 01/19] ARM: socfpga: add bindings do... tien . fong . chee
- [U-Boot] [PATCH v2 05/19] arm: socfpga: Enhance FPGA pr... tien . fong . chee
- [U-Boot] [PATCH v2 04/19] arm: socfpga: Add Arria 10 So... tien . fong . chee
- Re: [U-Boot] [PATCH v2 04/19] arm: socfpga: Add Ar... Marek Vasut
- Re: [U-Boot] [PATCH v2 04/19] arm: socfpga: Ad... Chee, Tien Fong
- [U-Boot] [PATCH v2 03/19] dts: Add FPGA bitstream prope... tien . fong . chee
- [U-Boot] [PATCH v2 14/19] arm: socfpga: Enable build fo... tien . fong . chee
- Re: [U-Boot] [PATCH v2 14/19] arm: socfpga: Enable... Marek Vasut
- Re: [U-Boot] [PATCH v2 14/19] arm: socfpga: En... Chee, Tien Fong
- [U-Boot] [PATCH v2 10/19] arm: socfpga: Rename the gen5... tien . fong . chee
- Re: [U-Boot] [PATCH v2 10/19] arm: socfpga: Rename... Marek Vasut
- Re: [U-Boot] [PATCH v2 10/19] arm: socfpga: Re... Chee, Tien Fong
- Re: [U-Boot] [PATCH v2 10/19] arm: socfpga... Marek Vasut
- Re: [U-Boot] [PATCH v2 10/19] arm: soc... Chee, Tien Fong
- [U-Boot] [PATCH v2 12/19] arm: socfpga: Add DDR driver ... tien . fong . chee