X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Faltera.h;h=c2991ad800073b0de56c844456eade3d8e823023;hb=2754c40edd8e0f7d3fd5d86d3931bac84cf00725;hp=e266a6449c52103d79d657923594a307f1bb068c;hpb=d44ef7ffbfef26f71d5811006f00fc82e941fe98;p=karo-tx-uboot.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_ */