flashrom: update to v1.0
authorJo-Philipp Wich <jo@mein.io>
Sun, 13 May 2018 17:14:20 +0000 (19:14 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 23 May 2018 08:04:36 +0000 (10:04 +0200)
commite27fa6782a398b7ab2fc965640b91d3e1d67fd02
tree466fa214acfea7227c4c8ff64748e8314f4b3c51
parent4f462c67d266de9dff3f53985740bc9108fc293f
flashrom: update to v1.0

Update to flashrom version 1.0 and cherry-pick an upstream fix for deprecated
libusb api usage.

Fixes the following error spotted by the buildbots:

    ch341a_spi.c: In function 'ch341a_spi_init':
    ch341a_spi.c:447:2: error: 'libusb_set_debug' is deprecated: [...]
      libusb_set_debug(NULL, 3); // Enable information, warning and [...]
      ^~~~~~~~~~~~~~~~
    In file included from ch341a_spi.c:25:0:
    .../libusb-1.0/libusb.h:1300:18: note: declared here
     void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
                      ^~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors
    Makefile:1030: recipe for target 'ch341a_spi.o' failed

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit cb6e98ba44c9cc8406f4d312d5cb7cf463e339d7)
utils/flashrom/Makefile
utils/flashrom/patches/0003-ch341a_spi-avoid-deprecated-libusb-functions.patch [new file with mode: 0644]