aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/python/usrp_mpm')
-rw-r--r--mpm/python/usrp_mpm/chips/max10_cpld_flash_ctrl.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/chips/max10_cpld_flash_ctrl.py b/mpm/python/usrp_mpm/chips/max10_cpld_flash_ctrl.py
index 388706b5a..40a6652c1 100644
--- a/mpm/python/usrp_mpm/chips/max10_cpld_flash_ctrl.py
+++ b/mpm/python/usrp_mpm/chips/max10_cpld_flash_ctrl.py
@@ -111,9 +111,11 @@ class Max10CpldFlashCtrl():
# value encoded in the FLASH_CFM0_START_ADDR_REG
# register
start_addr = self.get_start_addr()
- if start_addr == 0x9C00:
+ # 0x9C00 -> X410 MB, 0x1000 -> ZBX DB
+ if start_addr in [0x9C00, 0x1000]:
self.max10_variant = "m04"
- elif start_addr == 0xAC00:
+ # 0xAC00 -> X410 MB, 0x2000 -> ZBX DB
+ elif start_addr in [0xAC00, 0x2000]:
self.max10_variant = "m08"
else:
raise RuntimeError('Unknown MAX10 variant (FLASH_CFM0_START_ADDR_REG=0x{:04X})'.format(start_addr))