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