arm: socfpga: stratix10: Add Stratix10 FPGA into FPGA device table

Enable 'fpga' command in u-boot. User will be able to use the FPGA
command to program the FPGA on Stratix10 SoC.

Signed-off-by: Ang, Chee Hong <chee.hong.ang@intel.com>
This commit is contained in:
Ang, Chee Hong 2018-12-19 18:35:15 -08:00 committed by Marek Vasut
parent c41e660b6b
commit 877ec6ebbd
7 changed files with 79 additions and 28 deletions

View file

@ -18,9 +18,9 @@ struct bsel {
extern struct bsel bsel_str[];
#ifdef CONFIG_FPGA
void socfpga_fpga_add(void);
void socfpga_fpga_add(void *fpga_desc);
#else
static inline void socfpga_fpga_add(void) {}
inline void socfpga_fpga_add(void *fpga_desc) {}
#endif
#ifdef CONFIG_TARGET_SOCFPGA_GEN5