Attention is currently required from: Subrata Banik, Nico Huber, Angel Pons.
View Change
1 comment:
File ichspi.c:
Patch Set #4, Line 508: FDBC
`HSFC_FDBC_MASK` exists but there is no macro to resolve this symbol `HSFC_FDBC_MASK_OFF`
So, just very straightforward thought: if you also rename HSFC_FDBC_OFF into HSFC_FDBC_MASK_OFF then naming complies with existing pprint_reg() design? and there will be no need for _pprint_reg() ?
Not sure whether this straightforward idea is the most correct.
It seems like a good idea to have only one print macro: then there is no question which one to use, and how to use. But I am not sure how much work it is.
I can see that renaming HSFC_FDBC -> HSFC_FDBC_MASK plays a role further in the chain in CB:62892 so "do nothing" is not an option as it blocks further work. That's why I thought, if getting rid of _pprint_reg() is too much (for whatever reason) then maybe renaming both HSFC_FDBC -> HSFC_FDBC_MASK and HSFC_FDBC_OFF -> HSFC_FDBC_MASK_OFF can be okay?
And it can be a temp step on the way to getting rid of _pprint_reg() later.
To view, visit change 62894. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ia0ae9a586b5c12f0229334898426175ec246a70c
Gerrit-Change-Number: 62894
Gerrit-PatchSet: 6
Gerrit-Owner: Subrata Banik <subratabanik@google.com>
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@mailbox.org>
Gerrit-CC: Subrata Banik <subi.banik@gmail.com>
Gerrit-Attention: Subrata Banik <subi.banik@gmail.com>
Gerrit-Attention: Nico Huber <nico.h@gmx.de>
Gerrit-Attention: Subrata Banik <subratabanik@google.com>
Gerrit-Attention: Angel Pons <th3fanbus@gmail.com>
Gerrit-Comment-Date: Wed, 06 Apr 2022 06:41:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Subrata Banik <subi.banik@gmail.com>
Comment-In-Reply-To: Nico Huber <nico.h@gmx.de>
Comment-In-Reply-To: Subrata Banik <subratabanik@google.com>
Comment-In-Reply-To: Angel Pons <th3fanbus@gmail.com>
Comment-In-Reply-To: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-MessageType: comment