Change in flashrom[master]: Add support for National Instruments USB-845x devices

Nico Huber has posted comments on this change. ( https://review.coreboot.org/25683 ) Change subject: Add support for National Instruments USB-845x devices ...................................................................... Patch Set 2: (3 comments) https://review.coreboot.org/#/c/25683/2/Makefile File Makefile: https://review.coreboot.org/#/c/25683/2/Makefile@948 PS2, Line 948: LIBS += -lni845x
I have not find an explicit license for the NI 845x, but a txt file in the installation folder links […] I didn't mean to warn anybody of NI's wrath but ours. flashrom authors have rights too.
If somebody sells a binary of flashrom along with or as his product, they have to adhere to the GPL. In this case this would mean to provide access to NI's source code under a GPL compatible license, which could cause them some trouble ;) However, building such binary for yourself and using it is absolutely fine. So it's not a big deal, I guess, as long as NI845X_SPI is disabled by default and nobody links to it by accident. https://review.coreboot.org/#/c/25683/2/ni845x_spi.c File ni845x_spi.c: PS2:
Camel cases removed, do you have an example of what parameters should I use with indent? Hmmm, looks like this was never formalized for flashrom. `indent -linux -l112` might do, not sure. Though, looking closer at the code, the indentation itself seems to be the only (obvious) problem, it should just be a tab.
https://review.coreboot.org/#/c/25683/2/ni845x_spi.c@47 PS2, Line 47: uInt32
The NI USB-854x API brings these types and I thought that using them for the library calls only woul […] Hard to argue about that. But uInt32 seems to translate rather safely to uint32_t. Your call.
-- To view, visit https://review.coreboot.org/25683 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: I9477b6f0193bfdf20bbe63421a7fb97b597ec549 Gerrit-Change-Number: 25683 Gerrit-PatchSet: 2 Gerrit-Owner: David Hendricks <david.hendricks@gmail.com> Gerrit-Reviewer: David Hendricks <david.hendricks@gmail.com> Gerrit-Reviewer: Miklós Márton <martonmiklosqdev@gmail.com> Gerrit-Reviewer: Nico Huber <nico.h@gmx.de> Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> Gerrit-CC: Márton Miklós <martonmiklosqdev@gmail.com> Gerrit-Comment-Date: Sat, 23 Jun 2018 14:09:17 +0000 Gerrit-HasComments: Yes Gerrit-HasLabels: No
participants (1)
-
Nico Huber (Code Review)