summaryrefslogtreecommitdiff
path: root/include/altera.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/altera.h')
-rw-r--r--include/altera.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/altera.h b/include/altera.h
index e266a6449c5..c2991ad8000 100644
--- a/include/altera.h
+++ b/include/altera.h
@@ -40,6 +40,8 @@ enum altera_family {
Altera_CYC2,
/* StratixII Family */
Altera_StratixII,
+ /* SoCFPGA Family */
+ Altera_SoCFPGA,
/* Add new models here */
@@ -91,4 +93,8 @@ typedef struct {
Altera_post_fn post;
} altera_board_specific_func;
+#ifdef CONFIG_FPGA_SOCFPGA
+int socfpga_load(Altera_desc *desc, const void *rbf_data, size_t rbf_size);
+#endif
+
#endif /* _ALTERA_H_ */