X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Faltera.h;h=c2991ad800073b0de56c844456eade3d8e823023;hb=230fe9b202ff0ca396ad9a564816cc87d42daa6e;hp=e266a6449c52103d79d657923594a307f1bb068c;hpb=604364e42cf7dd3c4980901b47ee47eb4b490e4b;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_ */