Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f60e8638 authored by Wu, Hao's avatar Wu, Hao Committed by Mark D Horn
Browse files

adb,fastboot: add USB support for Intel Vendor ID



This patch adds Intel USB Vendor ID into the support
list for adb and fastboot.

Signed-off-by: default avatarWu, Hao <hao.wu@intel.com>
Signed-off-by: default avatarJack Ren <jack.ren@intel.com>
parent e7b1f132
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -37,6 +37,8 @@

// Google's USB Vendor ID
#define VENDOR_ID_GOOGLE        0x18d1
// Intel's USB Vendor ID
#define VENDOR_ID_INTEL         0x8087
// HTC's USB Vendor ID
#define VENDOR_ID_HTC           0x0bb4
// Samsung's USB Vendor ID
@@ -116,6 +118,7 @@
/** built-in vendor list */
int builtInVendorIds[] = {
    VENDOR_ID_GOOGLE,
    VENDOR_ID_INTEL,
    VENDOR_ID_HTC,
    VENDOR_ID_SAMSUNG,
    VENDOR_ID_MOTOROLA,
+1 −0
Original line number Diff line number Diff line
@@ -150,6 +150,7 @@ int match_fastboot(usb_ifc_info *info)
{
    if(!(vendor_id && (info->dev_vendor == vendor_id)) &&
       (info->dev_vendor != 0x18d1) &&  // Google
       (info->dev_vendor != 0x8087) &&  // Intel
       (info->dev_vendor != 0x0451) &&
       (info->dev_vendor != 0x0502) &&
       (info->dev_vendor != 0x0fce) &&  // Sony Ericsson