diff options
author | Pavel Machek | 2014-09-08 14:08:45 +0200 |
---|---|---|
committer | Marek Vasut | 2014-10-06 17:46:50 +0200 |
commit | 230fe9b202ff0ca396ad9a564816cc87d42daa6e (patch) | |
tree | 2d534e5ca52cb843ab332c1e09f5a3e547b3637d /drivers/fpga/altera.c | |
parent | 604364e42cf7dd3c4980901b47ee47eb4b490e4b (diff) |
arm: socfpga: fpga: Add SoCFPGA FPGA programming interface
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.
Signed-off-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Tom Rini <trini@ti.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Pavel Machek <pavel@denx.de>
V2: Move the not-CPU specific stuff into drivers/fpga/ and base
this on the cleaned up altera FPGA support.
Diffstat (limited to 'drivers/fpga/altera.c')
-rw-r--r-- | drivers/fpga/altera.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/fpga/altera.c b/drivers/fpga/altera.c index fd2b4f0103d..a5bfe5dce19 100644 --- a/drivers/fpga/altera.c +++ b/drivers/fpga/altera.c @@ -37,6 +37,9 @@ static const struct altera_fpga { { Altera_StratixII, "StratixII", StratixII_load, StratixII_dump, StratixII_info }, #endif +#if defined(CONFIG_FPGA_SOCFPGA) + { Altera_SoCFPGA, "SoC FPGA", socfpga_load, NULL, NULL }, +#endif }; static int altera_validate(Altera_desc *desc, const char *fn) |