Nico Huber has posted comments on this change. ( https://review.coreboot.org/23346 )
Change subject: cli_classic: Add --chip-size command
......................................................................
Patch Set 3: Code-Review+2
(2 comments)
https://review.coreboot.org/#/c/23346/3//COMMIT_MSG
Commit Message:
https://review.coreboot.org/#/c/23346/3//COMMIT_MSG@9
PS3, Line 9: This adds a command to print the size of the detected flash chip (in bytes).
Line is too long :-P
https://review.coreboot.org/#/c/23346/2/cli_classic.c
File cli_classic.c:
https://review.coreboot.org/#/c/23346/2/cli_classic.c@129
PS2, Line 129: 0x0101
> Change this (and the one for --ifd) to use an enum?
Good idea. I also thought about making the operation a single variable
(with a bitmask enum), currently *_it and chip_size are all mutually
exclusive booleans.
--
To view, visit https://review.coreboot.org/23346
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: Ia6f334654bea73478f369207e6f4345bcb72e8d4
Gerrit-Change-Number: 23346
Gerrit-PatchSet: 3
Gerrit-Owner: David Hendricks <david.hendricks(a)gmail.com>
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>
Gerrit-Comment-Date: Fri, 26 Jan 2018 18:58:16 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: Yes
Nico Huber has posted comments on this change. ( https://review.coreboot.org/23337 )
Change subject: flashchips: reset a M25P10-A before a probe
......................................................................
Patch Set 2:
I'm don't feel experienced enough to say anything about such flash chip
quirks.
David, any clue?
--
To view, visit https://review.coreboot.org/23337
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: I19a5332756d15b3cb74609c44a8d3fed2f4a2d68
Gerrit-Change-Number: 23337
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>
Gerrit-Comment-Date: Fri, 26 Jan 2018 18:37:54 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
Nico Huber has posted comments on this change. ( https://review.coreboot.org/23263 )
Change subject: [v4,6/6] Add support for reading the current flash contents from a file
......................................................................
Patch Set 1:
Reading is faster in many cases now, is this still needed / wanted?
--
To view, visit https://review.coreboot.org/23263
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: Idf153b6955f37779ae9bfb228a434ed10c304947
Gerrit-Change-Number: 23263
Gerrit-PatchSet: 1
Gerrit-Owner: Mike Banon <mikebdp2(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 26 Jan 2018 16:35:00 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
Nico Huber has posted comments on this change. ( https://review.coreboot.org/23260 )
Change subject: [v4,3/6] ENE EDI - add dummy read to ensure proper detection of ENE chips
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/23260/1/edi.c
File edi.c:
https://review.coreboot.org/#/c/23260/1/edi.c@500
PS1, Line 500: edi_detect(flash);
`edi_detect` sounds a little like it would already probe for it...
how about `edi_prepare` or `edi_wakeup`?
--
To view, visit https://review.coreboot.org/23260
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: I69ee71674649cd8ba4fc635f889cb39a1cd204b9
Gerrit-Change-Number: 23260
Gerrit-PatchSet: 1
Gerrit-Owner: Mike Banon <mikebdp2(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 26 Jan 2018 16:24:04 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Nico Huber has posted comments on this change. ( https://review.coreboot.org/23262 )
Change subject: [v4,5/6] Add the hidden-from-probing chips category and make KB9012 hidden
......................................................................
Patch Set 1:
(1 comment)
This should be done before adding the EDI driver.
AFAIR, Paul had something more flexible in mind: Instead of the
`hidden` flag a grouping of the chips. Basically the same what you
did but instead of 0/1 values a default of JEDEC and alternatively
EDI and whatever might come in the future. How about that?
https://review.coreboot.org/#/c/23262/1/flashrom.c
File flashrom.c:
https://review.coreboot.org/#/c/23262/1/flashrom.c@1213
PS1, Line 1213: if (!((!chip_to_probe && !chip->hidden) ||
This can be written much cleaner without multiple negations, IMO:
if (!chip_to_probe && chip->hidden)
continue;
if (chip_to_probe && /* original condition ... */
You wouldn't need a comment then to explain what you do, because
it would be obvious.
But let's discuss the "hidden vs. groups" thing, first.
--
To view, visit https://review.coreboot.org/23262
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: I89a53ccaef2791a2ac32904d7ab813da7478a6f0
Gerrit-Change-Number: 23262
Gerrit-PatchSet: 1
Gerrit-Owner: Mike Banon <mikebdp2(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Kocialkowski <contact(a)paulk.fr>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 26 Jan 2018 16:22:00 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Nico Huber has posted comments on this change. ( https://review.coreboot.org/23261 )
Change subject: [v4,4/6] ENE EDI - print debug info like others while probing for ENE chips
......................................................................
Patch Set 1:
(4 comments)
https://review.coreboot.org/#/c/23261/1/edi.c
File edi.c:
https://review.coreboot.org/#/c/23261/1/edi.c@154
PS1, Line 154: 0x%x
It's a signed integer, why print it in hex?
https://review.coreboot.org/#/c/23261/1/edi.c@164
PS1, Line 164: msg_cdbg("%s: rc1 0x%x, rc2 0x%x; ", __func__, rc1, rc2);
No need to print them, they are 0 on this path.
https://review.coreboot.org/#/c/23261/1/edi.c@169
PS1, Line 169: } else
Please add braces here too (they are not required by syntax but help
to maintain visual balance).
https://review.coreboot.org/#/c/23261/1/edi.c@171
PS1, Line 171: hwversion, chip->hwversion, ediid, chip->ediid);
Actually, I'm not sure if we want this message at all. This function
is supposed to be called multiple times with different ids. So it's
expected that they don't match.
If you want to keep it, please use a higher debug level, e.g. msg_cdbg2().
--
To view, visit https://review.coreboot.org/23261
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: Id8e62bc9f6785b4bf0be0aaf0f74c8120d77c0d4
Gerrit-Change-Number: 23261
Gerrit-PatchSet: 1
Gerrit-Owner: Mike Banon <mikebdp2(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 26 Jan 2018 16:05:01 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No