From 688637522a60eda64d17ed293fd36ff73085e3d1 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 28 Aug 2017 16:48:40 -0700 Subject: mpm: Added max rev check overridable When reading revision numbers from EEPROM, we now have an easy way of checking of our version MPM is sufficient to run on the current device. N310 implicitly makes use of this starting with this commit. --- mpm/python/usrp_mpm/periph_manager/n310.py | 1 + 1 file changed, 1 insertion(+) (limited to 'mpm/python/usrp_mpm/periph_manager/n310.py') diff --git a/mpm/python/usrp_mpm/periph_manager/n310.py b/mpm/python/usrp_mpm/periph_manager/n310.py index a9c8076ca..f855f2f3f 100644 --- a/mpm/python/usrp_mpm/periph_manager/n310.py +++ b/mpm/python/usrp_mpm/periph_manager/n310.py @@ -177,6 +177,7 @@ class n310(PeriphManagerBase): mboard_eeprom_addr = "e0005000.i2c" mboard_eeprom_max_len = 256 mboard_info = {"type": "n3xx"} + mboard_max_rev = 3 # 3 == RevD dboard_eeprom_addr = "e0004000.i2c" dboard_eeprom_max_len = 64 # We're on a Zynq target, so the following two come from the Zynq standard -- cgit v1.2.3