aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300/x300_mb_eeprom.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-09-26 18:22:25 -0700
committerMartin Braun <martin.braun@ettus.com>2017-09-29 10:50:56 -0700
commit83dde40090e0bbd91c304602cc0e3c365f7878bb (patch)
treec404968e3d6d35795f331ade6ad3c176f3c1bc8b /host/lib/usrp/x300/x300_mb_eeprom.hpp
parent59736a5bf512db83a6bd7250e14b13c7464770fc (diff)
downloaduhd-83dde40090e0bbd91c304602cc0e3c365f7878bb.tar.gz
uhd-83dde40090e0bbd91c304602cc0e3c365f7878bb.tar.bz2
uhd-83dde40090e0bbd91c304602cc0e3c365f7878bb.zip
uhd: Changed mboard_eeprom_t interface, refactored MB EEPROM code
- uhd::usrp::mboard_eeprom_t is now simply a map. Its commit() method has no utility being a public API call, because the user never gets access to the appropriate I2C object (Minor API breakage) - The central mboard_eeprom.cpp file was broken up and put into many smaller compilation units in every device's implementation folder. - Renamed some of the constants (e.g. B000_* -> USRP1_*, N100_* -> N200_*) - Removed the N000_* EEPROM code, because, well, you know, there's no such device
Diffstat (limited to 'host/lib/usrp/x300/x300_mb_eeprom.hpp')
-rw-r--r--host/lib/usrp/x300/x300_mb_eeprom.hpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/host/lib/usrp/x300/x300_mb_eeprom.hpp b/host/lib/usrp/x300/x300_mb_eeprom.hpp
deleted file mode 100644
index 0649855c6..000000000
--- a/host/lib/usrp/x300/x300_mb_eeprom.hpp
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-// Copyright 2016 Ettus Research LLC
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program. If not, see <http://www.gnu.org/licenses/>.
-//
-
-#ifndef INCLUDED_X300_MB_EEPROM_HPP
-#define INCLUDED_X300_MB_EEPROM_HPP
-
-#include <uhd/config.hpp>
-#include <uhd/types/serial.hpp>
-#include <boost/utility.hpp>
-#include <boost/shared_ptr.hpp>
-#include <uhd/types/wb_iface.hpp>
-
-class x300_mb_eeprom_iface : public uhd::i2c_iface
-{
-public:
- typedef boost::shared_ptr<x300_mb_eeprom_iface> sptr;
-
- virtual ~x300_mb_eeprom_iface(void) = 0;
-
- static sptr make(uhd::wb_iface::sptr wb, uhd::i2c_iface::sptr i2c);
-};
-
-#endif /* INCLUDED_X300_MB_EEPROM_HPP */