Attention is currently required from: Anastasia Klimchuk, Anton Samsonov, Anton Samsonov.
Alexander Goncharov has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/77089?usp=email )
Change subject: Remove dependency on C23 __has_include()
......................................................................
Patch Set 1:
(3 comments)
Patchset:
PS1:
> In my understanding, this patch may be needed for all compilers based on legacy versions of EDG fron […]
Appreciate your explanation. I don't think there's any point in describing it in the commit message. However, if you include something like "This patch has been tested on EDG 4.14 / GCC 5.5" (using the version you tested on, of course) it would make it easier for anyone who wants to test this patch to reproduce it
File include/cli_classic.h:
https://review.coreboot.org/c/flashrom/+/77089/comment/a283f041_ff4d2e23 :
PS1, Line 21: #if !defined(__has_include) && (__STDC_VERSION__ < 202300L)
: #include <getopt.h>
: #define HAVE_GETOPT_H 1
If we cannot identify whether this header file exists on the user's system, then let's assume it doesn't. So I suggest we drop this branch
https://review.coreboot.org/c/flashrom/+/77089/comment/adc99f67_4fb99312 :
PS1, Line 18: #if HAVE_GETOPT_H
: #include <getopt.h>
: #elif !defined(HAVE_GETOPT_H)
: #if !defined(__has_include) && (__STDC_VERSION__ < 202300L)
: #include <getopt.h>
: #define HAVE_GETOPT_H 1
: #elif __has_include(<getopt.h>)
: #include <getopt.h>
: #define HAVE_GETOPT_H 1
: #else
: #define HAVE_GETOPT_H 0
: #endif /* __has_include() */
: #endif /* HAVE_GETOPT_H */
:
: #if !HAVE_GETOPT_H
Our and coreboot code styles say nothing about directives. I'm having trouble reading if's branches without nesting. I would suggest to use indent after `#`, at least the coding style does not forbid it (I hope so).
What do you think, Anastasia?
--
To view, visit https://review.coreboot.org/c/flashrom/+/77089?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ic544963ffd29626ae0a21bdddb1c78850cc43ec6
Gerrit-Change-Number: 77089
Gerrit-PatchSet: 1
Gerrit-Owner: Anton Samsonov <devel(a)zxlab.ru>
Gerrit-Reviewer: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-CC: Anton Samsonov <avscomputing(a)gmail.com>
Gerrit-Attention: Anton Samsonov <avscomputing(a)gmail.com>
Gerrit-Attention: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Attention: Anton Samsonov <devel(a)zxlab.ru>
Gerrit-Comment-Date: Tue, 05 Sep 2023 09:59:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Anton Samsonov <avscomputing(a)gmail.com>
Comment-In-Reply-To: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-MessageType: comment
Attention is currently required from: Nikolai Artemiev, Sergii Dmytruk, Stefan Reinauer, Vasily Galkin.
Anastasia Klimchuk has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/77531?usp=email )
Change subject: flashchips: add WP features for W25X* analogous to tested W25X20
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS2:
> Note about "Merge conflict" status of this change. […]
Yes you are right the "Merge conflict" status is because this change depends on previous one in the chain (it is modifying the same file).
--
To view, visit https://review.coreboot.org/c/flashrom/+/77531?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ie69660a6f69e3cac31c5565792f401e69d43f8b8
Gerrit-Change-Number: 77531
Gerrit-PatchSet: 2
Gerrit-Owner: Vasily Galkin
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Reviewer: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Vasily Galkin
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Attention: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-Comment-Date: Fri, 01 Sep 2023 13:41:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Vasily Galkin
Gerrit-MessageType: comment
Attention is currently required from: Nikolai Artemiev, Stefan Reinauer, Vasily Galkin.
Anastasia Klimchuk has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/77530?usp=email )
Change subject: flashchips: Add WP features for Winbond W25X20
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS1:
> It's better to rebase. […]
If rebase is auto, without any merge conflicts, Gerrit keeps the code-review votes on the patch. Which means if the patch is approved it stays approved.
If rebase requires any manual resolving conflicts then Gerrit removes existing code review votes.
--
To view, visit https://review.coreboot.org/c/flashrom/+/77530?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I82c0cc52ca2a78d27f513234cc12d3e09d8905a5
Gerrit-Change-Number: 77530
Gerrit-PatchSet: 2
Gerrit-Owner: Vasily Galkin
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Reviewer: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Vasily Galkin
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Comment-Date: Fri, 01 Sep 2023 13:34:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Vasily Galkin
Comment-In-Reply-To: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-MessageType: comment
Attention is currently required from: Nikolai Artemiev, Sergii Dmytruk, Stefan Reinauer.
Vasily Galkin has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/77531?usp=email )
Change subject: flashchips: add WP features for W25X* analogous to tested W25X20
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS2:
Note about "Merge conflict" status of this change. I just rebased this patch series, but it is still here. It seems to be a misundestanding between Gerrit and me.
This change is a part of a patch series (same topic) and to make this change mergeable to master - the previous changes are needed. It is direct descendant of https://review.coreboot.org/c/flashrom/+/77530 in git history.
No any complex trees here, just a linear patch series
So I suppose that it will disappear after merging previous patch, and see no way to remove it earlier.
--
To view, visit https://review.coreboot.org/c/flashrom/+/77531?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ie69660a6f69e3cac31c5565792f401e69d43f8b8
Gerrit-Change-Number: 77531
Gerrit-PatchSet: 2
Gerrit-Owner: Vasily Galkin
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Reviewer: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Attention: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-Comment-Date: Fri, 01 Sep 2023 13:23:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Name of user not set #1005084, Nikolai Artemiev, Stefan Reinauer.
Anastasia Klimchuk has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/77581?usp=email )
Change subject: flashchips: Add support for MXIC MX25U25643G
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
xianzheng, I wanted to check, is this patch a new version of CB:76853 ? Is this ready for review?
For the future, in a case like this, you need to push a new patchset to existing patch (instead of creating a new patch). This means locally you do git commit --amend and then you check that Change-Id stays the same in the commit message. Change-Id is the way Gerrit knows the change belongs to the same patch.
For this patch you can leave as is, for future keep an eye on Change-Id and create new patchsets *for the same patch*.
We also have info about working with git and gerrit in dev guides: https://www.flashrom.org/dev_guide/development_guide.html
thank you for contributing!
--
To view, visit https://review.coreboot.org/c/flashrom/+/77581?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Id6c4254a02800f04c091009d19a628435fc20fce
Gerrit-Change-Number: 77581
Gerrit-PatchSet: 1
Gerrit-Owner: Name of user not set #1005084
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Attention: Name of user not set #1005084
Gerrit-Comment-Date: Fri, 01 Sep 2023 13:17:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Nikolai Artemiev, Stefan Reinauer, Vasily Galkin.
Sergii Dmytruk has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/77530?usp=email )
Change subject: flashchips: Add WP features for Winbond W25X20
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
> This "patch series"="relation chain" is currently shown as "Merge conflict" in Gerrit. […]
It's better to rebase. As long as `Change-Id:` in commit messages remain the same Gerrit will recognize new revisions of already pushed commits.
--
To view, visit https://review.coreboot.org/c/flashrom/+/77530?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I82c0cc52ca2a78d27f513234cc12d3e09d8905a5
Gerrit-Change-Number: 77530
Gerrit-PatchSet: 1
Gerrit-Owner: Vasily Galkin
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Reviewer: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Vasily Galkin
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Comment-Date: Fri, 01 Sep 2023 13:09:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Vasily Galkin
Gerrit-MessageType: comment
Attention is currently required from: Nikolai Artemiev, Stefan Reinauer.
Vasily Galkin has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/77530?usp=email )
Change subject: flashchips: Add WP features for Winbond W25X20
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
This "patch series"="relation chain" is currently shown as "Merge conflict" in Gerrit. They are "spurious" - unrelated chip change in flashchips.c, easily handled by autorebasing (tested locally).
Should I rebase this on master tip, or it is fine to keep in in current state?
I'm new to Gerrit, so I'm not sure if rebasing is "harmless" or would initate new review round (that wound be unneeded in this case, since no manual tunings would be done during rebasing)
--
To view, visit https://review.coreboot.org/c/flashrom/+/77530?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I82c0cc52ca2a78d27f513234cc12d3e09d8905a5
Gerrit-Change-Number: 77530
Gerrit-PatchSet: 1
Gerrit-Owner: Vasily Galkin
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Reviewer: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Comment-Date: Fri, 01 Sep 2023 12:49:05 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Angel Pons, Neil Armstrong, Nikolai Artemiev, Stefan Reinauer, Thomas Heijligen.
Anastasia Klimchuk has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/50263?usp=email )
Change subject: flashchips: add definition of the XT25F02E SPI NOR flash
......................................................................
Patch Set 5:
(4 comments)
Commit Message:
https://review.coreboot.org/c/flashrom/+/50263/comment/97bf5ab7_7641479a :
PS4, Line 7: flashchips: add definition of the XT25F02E SPI NOR flash
> Which programmer did you use?
The programmer is here CB:50264
Maybe Neil will come back and finish the programmer patch ;)
https://review.coreboot.org/c/flashrom/+/50263/comment/86e435d5_f8a17a88 :
PS4, Line 8:
> Please add a link to the datasheet.
Done
Patchset:
PS4:
> Hello Neil, sorry there was a really long delay for this patch :( Are you still interested? There ar […]
Not sure whether Neil will come back or not, I rebased the patch, added link to the datasheet and updated `printlock` and `unlock` to use functions for BP1.
I found the answer to my question about the programmer in the earlier comments (yes).
Patchset:
PS5:
I rebased the patch and updated as needed. If anyone on the patch could review/approve that would be fantastic, thank you!
--
To view, visit https://review.coreboot.org/c/flashrom/+/50263?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I295633c448c05520e4a6aa09c08bd7c9f2346d54
Gerrit-Change-Number: 50263
Gerrit-PatchSet: 5
Gerrit-Owner: Neil Armstrong <narmstrong(a)baylibre.com>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Neil Armstrong <narmstrong(a)baylibre.com>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Thomas Heijligen <src(a)posteo.de>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Nikolai Artemiev <nartemiev(a)google.com>
Gerrit-Comment-Date: Fri, 01 Sep 2023 10:18:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Comment-In-Reply-To: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-MessageType: comment