diff --git a/utils/hwstub/stub/stmp/Makefile b/utils/hwstub/stub/stmp/Makefile index 3ac7e3bbd4..c06242aad5 100644 --- a/utils/hwstub/stub/stmp/Makefile +++ b/utils/hwstub/stub/stmp/Makefile @@ -17,4 +17,4 @@ include ../hwstub.make $(BUILD_DIR)/hwstub.sb: $(EXEC_BIN) $(call PRINTS,SBTOELF $(@F)) - $(SILENT)$(SBTOELF) -z -c hwstub.db -o $@ $< \ No newline at end of file + $(SILENT)$(SBTOELF) -z -c hwstub.db -o $@ $< diff --git a/utils/imxtools/sbtools/sbloader.c b/utils/imxtools/sbtools/sbloader.c index 1a241ba551..91c4fc952f 100644 --- a/utils/imxtools/sbtools/sbloader.c +++ b/utils/imxtools/sbtools/sbloader.c @@ -69,9 +69,9 @@ struct dev_info_t struct dev_info_t g_dev_info[] = { - {0x066f, 0x3780, 1024, HID_DEVICE}, /* i.MX233 / STMP3780 */ - {0x066f, 0x3770, 48, HID_DEVICE}, /* STMP3770 */ - {0x15A2, 0x004F, 1024, HID_DEVICE}, /* i.MX28 */ + {0x066f, 0x3780, 0, HID_DEVICE}, /* i.MX233 / STMP3780 */ + {0x066f, 0x3770, 0, HID_DEVICE}, /* STMP3770 */ + {0x15A2, 0x004F, 0, HID_DEVICE}, /* i.MX28 */ {0x066f, 0x3600, 4096, RECOVERY_DEVICE}, /* STMP36xx */ }; @@ -246,6 +246,7 @@ static bool is_hid_dev(struct libusb_config_descriptor *desc) static bool is_recovery_dev(struct libusb_config_descriptor *desc) { + (void) desc; return false; }