pickit2_spi: update to libusb1 and drop libusb0 dependency

TESTED: read, write, verify

Change-Id: Icfc5372aa1789d35ed22d68297d5e68a74d40388
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/32213
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
diff --git a/meson.build b/meson.build
index 1923fdf..e1b6c16 100644
--- a/meson.build
+++ b/meson.build
@@ -67,7 +67,6 @@
 deps = []
 srcs = []
 
-need_libusb0 = false
 need_raw_access = false
 need_serial = false
 
@@ -91,6 +90,7 @@
   config_dediprog = false
   config_digilent_spi = false
   config_developerbox_spi = false
+  config_pickit2_spi = false
 endif
 
 # some programmers require libpci
@@ -242,7 +242,6 @@
 if config_pickit2_spi
   srcs += 'pickit2_spi.c'
   cargs += '-DCONFIG_PICKIT2_SPI=1'
-  need_libusb0 = true
 endif
 if config_pony_spi
   srcs += 'pony_spi.c'
@@ -293,11 +292,6 @@
   srcs += 'serial.c'
 endif
 
-# raw deprecated and old USB library
-if need_libusb0
-  deps += dependency('libusb')
-endif
-
 prefix = get_option('prefix')
 sbindir = join_paths(prefix, get_option('sbindir'))
 libdir = join_paths(prefix, get_option('libdir'))