The macros are needed earlier in a later patch. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- scripts/imx/imx-usb-loader.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/imx/imx-usb-loader.c b/scripts/imx/imx-usb-loader.c index f42ab67..5a94cf1 100644 --- a/scripts/imx/imx-usb-loader.c +++ b/scripts/imx/imx-usb-loader.c @@ -36,6 +36,11 @@ #define get_min(a, b) (((a) < (b)) ? (a) : (b)) +#define FT_APP 0xaa +#define FT_CSF 0xcc +#define FT_DCD 0xee +#define FT_LOAD_ONLY 0x00 + int verbose; struct mach_id { @@ -1116,11 +1121,6 @@ static int load_file(struct libusb_device_handle *h, struct usb_id *p_id, return transfer_size; } -#define FT_APP 0xaa -#define FT_CSF 0xcc -#define FT_DCD 0xee -#define FT_LOAD_ONLY 0x00 - static int do_irom_download(struct libusb_device_handle *h, struct usb_id *p_id, struct usb_work *curr, int verify) { -- 2.7.0.rc3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox