nusb/serial: recognize aijuboard jtag interface
This commit is contained in:
parent
5275d49d8f
commit
4bfd4122d9
1 changed files with 3 additions and 0 deletions
|
@ -1094,6 +1094,9 @@ hasjtag(Usbdev *udev)
|
|||
/* no string, for now, by default we detect no jtag */
|
||||
if(udev->product != nil && cistrstr(udev->product, "jtag") != nil)
|
||||
return 1;
|
||||
/* blank aijuboard has jtag for initial bringup */
|
||||
if(udev->csp == 0xffffff)
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue