[U-Boot] [PATCH 25/35] arm: socfpga: fpga: Add SoCFPGA FPGA programming interface

Marek Vasut marex at denx.de
Tue Sep 16 20:18:46 CEST 2014


On Monday, September 15, 2014 at 05:41:51 PM, Wolfgang Denk wrote:
> Dear Marek Vasut,
> 
> In message <1410779188-6880-26-git-send-email-marex at denx.de> you wrote:
> > From: Pavel Machek <pavel at denx.de>
> > 
> > Add code necessary to program the FPGA part of SoCFPGA from U-Boot
> > with an RBF blob. This patch also integrates the code into the
> > FPGA driver framework in U-Boot so it can be used via the 'fpga'
> > command.
> 
> ...
> 
> > +/* Get the FPGA mode */
> > +static int fpgamgr_get_mode(void)
> > +{
> > +	unsigned long val;
> > +	val = readl(&fpgamgr_regs->stat);
> > +	return val & FPGAMGRREGS_STAT_MODE_MASK;
> > +}
> 
> Please always separate declarations and code by a blank line (please
> fix globally).

Done, thank you!

Best regards,
Marek Vasut


More information about the U-Boot mailing list