Skip to content

Do not load the OptoHybrid firmware if there is no board support/need

Laurent Petre requested to merge bugfix/promless-less-boardmanager into main

Description

As discussed in #246 (closed), a generic board does not necessarily support the OptoHybrid firmware PROM-less feature. This is typically the case for ME0 which does not include an FPGA on its front-end.

This MR modifies the generic board management code in order to load the OptoHybrid firmware in [B/Ultra]RAM only if the board firmware was built ith the feature.

Related Issue

Fixes #246 (closed)

How Has This Been Tested?

Trivial change, not tested. Ideally should be anyway.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Merge request reports