Commit b62b675f authored by Federico Vaga's avatar Federico Vaga

sw:fw: bugfix framework FPGA validation

When we do not have a compatibility list we will run on any FPGA
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 63276363
......@@ -566,7 +566,7 @@ static inline int trtl_fw_init_fpga(struct trtl_fw_application *app)
}
}
if (!found) {
if (!found && app->fpga_id_compat_n) {
pr_error("\tFPGA '0x%"PRIx32"' not compatible with RT app: 0x%"PRIx32" 0x%"PRIx32" (git %"PRIx32")\n\r",
app->cfgrom->app_id,
app->version.rt_id,
......@@ -689,7 +689,9 @@ int main(void)
trtl_notify(TRTL_CPU_NOTIFY_INIT);
trtl_fw_init();
err = trtl_fw_init();
if (err)
return -1;
if (app.init){
err = app.init();
if (err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment