aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/periph_manager/n3xx.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-05-07 18:22:52 -0700
committerMartin Braun <martin.braun@ettus.com>2018-06-08 13:27:13 -0700
commit22d684c3c8db8644cbdaf7b2955048050007ec30 (patch)
tree74af816cdb9eee199d2bcb111687cd1613d0045e /mpm/python/usrp_mpm/periph_manager/n3xx.py
parentcd716e264e6e9243d34d49979a5d42214ecbbc44 (diff)
downloaduhd-22d684c3c8db8644cbdaf7b2955048050007ec30.tar.gz
uhd-22d684c3c8db8644cbdaf7b2955048050007ec30.tar.bz2
uhd-22d684c3c8db8644cbdaf7b2955048050007ec30.zip
mpm: Use device_info to determine overlay list
Diffstat (limited to 'mpm/python/usrp_mpm/periph_manager/n3xx.py')
-rw-r--r--mpm/python/usrp_mpm/periph_manager/n3xx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/n3xx.py b/mpm/python/usrp_mpm/periph_manager/n3xx.py
index 2887df052..0b7c40c24 100644
--- a/mpm/python/usrp_mpm/periph_manager/n3xx.py
+++ b/mpm/python/usrp_mpm/periph_manager/n3xx.py
@@ -166,7 +166,7 @@ class n3xx(PeriphManagerBase):
return device_info
@staticmethod
- def list_required_dt_overlays(eeprom_md, device_args):
+ def list_required_dt_overlays(device_info):
"""
Lists device tree overlays that need to be applied before this class can
be used. List of strings.
@@ -177,7 +177,7 @@ class n3xx(PeriphManagerBase):
"""
# In the N3xx case, we name the dtbo file the same as the product.
# N310 -> n310.dtbo, N300 -> n300.dtbo and so on.
- return [n3xx.pids[eeprom_md['pid']]]
+ return [device_info['product']]
###########################################################################
# Ctor and device initialization tasks