Commit 06d1b2c8 authored by Trung Tran's avatar Trung Tran Committed by michael-west

mpm: add fpga githash to device info

parent 1d72679e
......@@ -518,6 +518,8 @@ class n3xx(ZynqComponents, PeriphManagerBase):
device_info.update({
'fpga_version': "{}.{}".format(
*self.mboard_regs_control.get_compat_number()),
'fpga_version_hash': "{:x}.{}".format(
*self.mboard_regs_control.get_git_hash()),
'fpga': self.updateable_components.get('fpga', {}).get('type', ""),
})
return device_info
......
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