[PATCH 08/11] ARM: socfpga: Add FPGA programming command

Steffen Trumtrar s.trumtrar at pengutronix.de
Mon Sep 16 06:40:41 EDT 2013


Hi!

On Mon, Sep 16, 2013 at 10:48:17AM +0200, Sascha Hauer wrote:
> This adds a simple socfpga specific 'fpga' command to load a firmware
> to the FPGA. For the moment this is enough, but should we get more
> FPGA support it might be a good idea to introduce some generic framework
> and command.
> 
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> ---
>  arch/arm/mach-socfpga/Kconfig                     |   5 +
>  arch/arm/mach-socfpga/Makefile                    |   1 +
>  arch/arm/mach-socfpga/fpga.c                      | 422 ++++++++++++++++++++++
>  arch/arm/mach-socfpga/include/mach/socfpga-regs.h |   2 +
>  4 files changed, 430 insertions(+)
>  create mode 100644 arch/arm/mach-socfpga/fpga.c
> 

Why did you chose to have an extra command for fpga loading instead of having
just a (block)device? Do you see any future advantage in that or is it just
because of the port from u-boot? I know that they need an extra fpga command, but
they also have an extra mmcload command and stuff.

Regards,
Steffen

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list