aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/bist.py
diff options
context:
space:
mode:
authorTrung Tran <trung.tran@ettus.com>2019-05-09 16:35:21 -0700
committerBrent Stapleton <brent.stapleton@ettus.com>2019-05-10 16:59:58 -0700
commit75dc7a1d64efbedeaa527ec923b35a1b99511192 (patch)
tree47a881db421532053839f365a24ef023d01649e2 /mpm/python/usrp_mpm/bist.py
parent0812a5f6bf600f3d09e40f55b02de91a3b82dd75 (diff)
downloaduhd-75dc7a1d64efbedeaa527ec923b35a1b99511192.tar.gz
uhd-75dc7a1d64efbedeaa527ec923b35a1b99511192.tar.bz2
uhd-75dc7a1d64efbedeaa527ec923b35a1b99511192.zip
mpm: Change SW/HW compat check to use last_rev_compat
Newer revisions of the E320 and N3xx motherboards use EEPROM version 3, and store a rev_compat field. The rev_compat is the last revision that this hardware is compatible with. We now use that instead of simply the revision.
Diffstat (limited to 'mpm/python/usrp_mpm/bist.py')
-rw-r--r--mpm/python/usrp_mpm/bist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/bist.py b/mpm/python/usrp_mpm/bist.py
index e26d6d36c..7957f2f37 100644
--- a/mpm/python/usrp_mpm/bist.py
+++ b/mpm/python/usrp_mpm/bist.py
@@ -495,7 +495,7 @@ class UsrpBIST(object):
# If this is true, trigger a reload of the default FPGA image
self.reload_fpga_image = False
try:
- default_rev = self.get_mb_periph_mgr().mboard_max_rev
+ default_rev = self.get_mb_periph_mgr().mboard_last_rev_compat
except ImportError:
# This means we're in dry run mode or something like that, so just
# pick something