notify user about the reason why device was ignored by imx-usb-loader. Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> --- scripts/imx/imx-usb-loader.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/imx/imx-usb-loader.c b/scripts/imx/imx-usb-loader.c index e8d746785..b2c9f8f5a 100644 --- a/scripts/imx/imx-usb-loader.c +++ b/scripts/imx/imx-usb-loader.c @@ -243,6 +243,8 @@ static int device_location_equal(libusb_device *device, const char *location) /* walked the full path, all elements match */ if (path_step == path_len) result = 1; + else + fprintf(stderr, " excluded by device path option\n"); done: free(loc); -- 2.11.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox