From 93617aa25cc0ec62cbdbf9cdb41ec11fcc29f2b3 Mon Sep 17 00:00:00 2001 From: Brent Stapleton Date: Tue, 20 Mar 2018 15:13:14 -0700 Subject: 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. --- mpm/python/usrp_mpm/periph_manager/n3xx.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mpm/python/usrp_mpm/periph_manager/n3xx.py') 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 -- cgit v1.2.3