X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Faltera.h;h=c2991ad800073b0de56c844456eade3d8e823023;hb=bdde65951659fb78d3b4bbf99743a74522f03a05;hp=e266a6449c52103d79d657923594a307f1bb068c;hpb=d44ef7ffbfef26f71d5811006f00fc82e941fe98;p=oweals%2Fu-boot.git diff --git a/include/altera.h b/include/altera.h index e266a6449c..c2991ad800 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_ */