aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/mpmd/mpmd_image_loader.cpp
diff options
context:
space:
mode:
authorBrent Stapleton <brent.stapleton@ettus.com>2018-04-17 19:33:53 -0700
committerBrent Stapleton <bstapleton@g.hmc.edu>2018-07-18 15:37:27 -0700
commit7d28d9140e2c57db36b37d60d9ce4bff86357bac (patch)
treeb775d13d8b0386bea39adaf279511e24c51f35f6 /host/lib/usrp/mpmd/mpmd_image_loader.cpp
parent300a5e3f6e5e845b4b8d093222e1c51ca4640f79 (diff)
downloaduhd-7d28d9140e2c57db36b37d60d9ce4bff86357bac.tar.gz
uhd-7d28d9140e2c57db36b37d60d9ce4bff86357bac.tar.bz2
uhd-7d28d9140e2c57db36b37d60d9ce4bff86357bac.zip
uhd: initial commit of UHD support for E320
Co-authored-by: Sugandha Gupta <sugandha.gupta@ettus.com>
Diffstat (limited to 'host/lib/usrp/mpmd/mpmd_image_loader.cpp')
-rw-r--r--host/lib/usrp/mpmd/mpmd_image_loader.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_image_loader.cpp b/host/lib/usrp/mpmd/mpmd_image_loader.cpp
index fa09dc08b..e0b85f897 100644
--- a/host/lib/usrp/mpmd/mpmd_image_loader.cpp
+++ b/host/lib/usrp/mpmd/mpmd_image_loader.cpp
@@ -81,7 +81,9 @@ uhd::usrp::component_file_t generate_component(
*/
static bool mpmd_image_loader(const image_loader::image_loader_args_t &image_loader_args){
// See if any MPM devices with the given args are found
- device_addrs_t devs = mpmd_find(image_loader_args.args);
+ device_addr_t find_hint = image_loader_args.args;
+ find_hint.set("find_all", "1"); // We need to find all devices
+ device_addrs_t devs = mpmd_find(find_hint);
if (devs.size() != 1) {
// TODO: Do we want to handle multiple devices here?
@@ -189,4 +191,5 @@ UHD_STATIC_BLOCK(register_mpm_image_loader){
//TODO: 'n3xx' doesn't really fit the MPM abstraction, but this is simpler for the time being
image_loader::register_image_loader("n3xx", mpmd_image_loader, recovery_instructions);
+ image_loader::register_image_loader("e3xx", mpmd_image_loader, recovery_instructions);
}