From 75c6f34b0f891476dc317cb37ee79c7ee65a0ca5 Mon Sep 17 00:00:00 2001 From: Trung Tran Date: Thu, 9 May 2019 16:35:21 -0700 Subject: 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. --- mpm/python/usrp_mpm/bist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpm/python/usrp_mpm/bist.py') 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 -- cgit v1.2.3