mpm: x4xx: Add log message for older DIO boards

Older DIO boards don't support all the features of newer ones, but from
the log messages, it's not clear what revision the board has. We add
a log statement to clarify.
This commit is contained in:
Martin Braun 2021-12-06 11:06:59 +01:00 committed by Aaron Rossetto
parent db5ce31b0e
commit 4fd1cb317f

View file

@ -229,7 +229,8 @@ class DioControl:
self.port_control = {port: self._PortControl(port) for port in self.DIO_PORTS}
self.mboard_regs = mboard_regs
self.mboard_cpld = mboard_cpld
if self.mboard_regs.get_compat_number() < self.FULL_DIO_FPGA_COMPAT:
self.log.warning("DIO board does not support the full feature set.")
# initialize port mapping for HDMI and DIO
self.port_mappings = {}
self.mapping = None