[U-Boot] [PATCH 25/35] arm: socfpga: fpga: Add SoCFPGA FPGA programming interface
Wolfgang Denk
wd at denx.de
Mon Sep 15 17:41:51 CEST 2014
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).
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I can't understand why people are frightened of new ideas. I'm
frightened of the old ones. - John Cage
More information about the U-Boot
mailing list