aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/periph_manager/n3xx.py
diff options
context:
space:
mode:
authorBrent Stapleton <brent.stapleton@ettus.com>2018-03-20 15:13:14 -0700
committerMartin Braun <martin.braun@ettus.com>2018-03-20 16:47:24 -0700
commit93617aa25cc0ec62cbdbf9cdb41ec11fcc29f2b3 (patch)
tree21bdf37504fbbd5c7221d582ec80955bfd5221a9 /mpm/python/usrp_mpm/periph_manager/n3xx.py
parent053cd3fea7eb01b8eef8fba723d123fac9417f50 (diff)
downloaduhd-93617aa25cc0ec62cbdbf9cdb41ec11fcc29f2b3.tar.gz
uhd-93617aa25cc0ec62cbdbf9cdb41ec11fcc29f2b3.tar.bz2
uhd-93617aa25cc0ec62cbdbf9cdb41ec11fcc29f2b3.zip
mpm: Adding offset to EEPROM reads
Adding address offset to all MBoard and DBoard EEPROM reads. This matches what we're doing for the user portion of the EEPROM, and allows us to share access to an EEPROM.
Diffstat (limited to 'mpm/python/usrp_mpm/periph_manager/n3xx.py')
-rw-r--r--mpm/python/usrp_mpm/periph_manager/n3xx.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/n3xx.py b/mpm/python/usrp_mpm/periph_manager/n3xx.py
index 6926ee1d7..373689521 100644
--- a/mpm/python/usrp_mpm/periph_manager/n3xx.py
+++ b/mpm/python/usrp_mpm/periph_manager/n3xx.py
@@ -458,6 +458,7 @@ class n3xx(PeriphManagerBase):
description = "N300-Series Device"
pids = {0x4242: 'n310', 0x4240: 'n300'}
mboard_eeprom_addr = "e0005000.i2c"
+ mboard_eeprom_offset = 0
mboard_eeprom_max_len = 256
mboard_info = {"type": "n3xx",
"product": "unknown",
@@ -473,6 +474,7 @@ class n3xx(PeriphManagerBase):
'fan': 'get_fan_sensor',
}
dboard_eeprom_addr = "e0004000.i2c"
+ dboard_eeprom_offset = 0
dboard_eeprom_max_len = 64
# We're on a Zynq target, so the following two come from the Zynq standard