Nico Huber has posted comments on this change. ( https://review.coreboot.org/27444 )
Change subject: usbdev: Refactor device discovery code
......................................................................
Patch Set 2: Code-Review+1
(5 comments)
Looks good, just some minor issues.
https://review.coreboot.org/#/c/27444/2/usbdev.c
File usbdev.c:
https://review.coreboot.org/#/c/27444/2/usbdev.c@25
PS2, Line 25: _t
_t is for standard libraries, _func maybe? Actually, as it's only
used in a single place, you don't need a typedef.
https://review.coreboot.org/#/c/27444/2/usbdev.c@84
PS2, Line 84: void *
`const void *` to make that clear (unless the compiler won't let us)
https://review.coreboot.org/#/c/27444/2/usbdev.c@105
PS2, Line 105: /* no need to NULL check handle; the conditional decrement makes it unnecessary */
No idea what this is supposed to mean. If you need to read the code
to understand the comment, commenting is futile.
https://review.coreboot.org/#/c/27444/2/usbdev.c@118
PS2, Line 118:
no space after closing parenthesis
https://review.coreboot.org/#/c/27444/2/usbdev.c@115
PS2, Line 115: struct libusb_device_handle *usb_dev_get_by_vid_pid_serial(
: struct libusb_context *usb_ctx, uint16_t vid, uint16_t pid, const char *serialno)
: {
: return get_by_vid_pid_filter(usb_ctx, vid, pid, filter_by_serial, (void *) serialno);
: }
please group with the used filter function
--
To view, visit https://review.coreboot.org/27444
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I31ed572501e4314b9455e1b70a5e934ec96408b1
Gerrit-Change-Number: 27444
Gerrit-PatchSet: 2
Gerrit-Owner: Daniel Thompson <daniel.thompson(a)linaro.org>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sat, 18 Aug 2018 14:45:06 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: Yes
Nico Huber has posted comments on this change. ( https://review.coreboot.org/27443 )
Change subject: usbdev: Extract libusb1 device discovery into a seperate file
......................................................................
Patch Set 2:
(2 comments)
https://review.coreboot.org/#/c/27443/2/usbdev.c
File usbdev.c:
https://review.coreboot.org/#/c/27443/2/usbdev.c@18
PS2, Line 18: #include "platform.h"
doesn't seem useful here?
https://review.coreboot.org/#/c/27443/2/usbdev.c@22
PS2, Line 22: #include "programmer.h"
Do we need this? or just fash.h?
--
To view, visit https://review.coreboot.org/27443
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Idfcc79371241c2c1dea97faf5e532aa971546a79
Gerrit-Change-Number: 27443
Gerrit-PatchSet: 2
Gerrit-Owner: Daniel Thompson <daniel.thompson(a)linaro.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-Comment-Date: Sat, 18 Aug 2018 14:27:53 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Nico Huber has abandoned this change. ( https://review.coreboot.org/19994 )
Change subject: Add initial J-Link SPI programmer
......................................................................
Abandoned
picked to master and staging is abandoned
--
To view, visit https://review.coreboot.org/19994
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: abandon
Gerrit-Change-Id: Ie03a054a75457ec9e1cab36ea124bb53b10e8d7e
Gerrit-Change-Number: 19994
Gerrit-PatchSet: 4
Gerrit-Owner: Marc Schink <flashrom-dev(a)marcschink.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Nico Huber has abandoned this change. ( https://review.coreboot.org/22263 )
Change subject: vt_vx: check whether the chipset's MMIO range is configured
......................................................................
Abandoned
picked to master long ago and staging is abandoned
--
To view, visit https://review.coreboot.org/22263
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: abandon
Gerrit-Change-Id: I5d3a1ba695153e854e0979ae634f8ed97e6b6293
Gerrit-Change-Number: 22263
Gerrit-PatchSet: 2
Gerrit-Owner: Lubomir Rintel <lkundrak(a)v3.sk>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>