
16 Sep
2014
16 Sep
'14
8:18 p.m.
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@denx.de you wrote:
From: Pavel Machek pavel@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