summaryrefslogtreecommitdiffstats
path: root/drivers/fpga/altera.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2016-02-12 13:48:02 +0100
committerStefan Roese <sr@denx.de>2016-03-24 09:47:43 +0100
commitff9c4c535a8b722c54d45e77aa083fa08552341d (patch)
tree23f431260bccbfade15f7c149fafb624c8dca516 /drivers/fpga/altera.c
parent704d9a645e1790e568abf43c5eff2de0d7b135ed (diff)
downloadtalos-obmc-uboot-ff9c4c535a8b722c54d45e77aa083fa08552341d.tar.gz
talos-obmc-uboot-ff9c4c535a8b722c54d45e77aa083fa08552341d.zip
fpga: altera: Add StratixV support
This patch adds support for programming of the StratixV FPGAs. Programming is done in this case (board theadorable) via SPI. The board may provide board specific code for bitstream programming. This StratixV support will be used by the theadorable board. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/fpga/altera.c')
-rw-r--r--drivers/fpga/altera.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/fpga/altera.c b/drivers/fpga/altera.c
index a5bfe5dce1..135a3572a8 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_STRATIX_V)
+ { Altera_StratixV, "StratixV", stratixv_load, NULL, NULL },
+#endif
#if defined(CONFIG_FPGA_SOCFPGA)
{ Altera_SoCFPGA, "SoC FPGA", socfpga_load, NULL, NULL },
#endif
OpenPOWER on IntegriCloud