1 comment:
Patch Set #5, Line 164: if (chip->hwversion == hwversion && chip->ediid == ediid) {
Originally it was msg_cdbg but I changed it to msg_cdbg2 after
Nico's request.
That was about the `else` path.
Do you think its a good idea to change it back to
msg_cdbg ?
It should match what is common in flashrom. Looking at
compare_id() in spi25.c, it just always prints the read ids
at msg_cdbg.
Also, right now if hwversion and/or ediid do not match
these values , the exit code is 0 - while, if they match, the exit
code is 1. If we replace it with a single msg line, what exit code
should it be? "return 1" for both cases?
The whole purpose of this function is to return 1 if and only if
the ids match. The messages are merely cosmetic.
To view, visit change 23261. To unsubscribe, or for help writing mail filters, visit settings.