Thank you everyone for your comments!
View Change
2 comments:
File it85spi.c:
Patch Set #5, Line 77:
unsigned int shm_io_base;
unsigned char *ce_high, *ce_low;
int it85xx_scratch_rom_reenter;
thanks for picking this up.
Done, I set up editor so that tab is tab and it's 8 chars.
I am interested to improve the linter! (but not in this CL).
Patch Set #5, Line 321: spi_master_it85xx.data = data;
Removing "static globals of any kind" is not a goal in and of itself. […]
Yes, there will be more patches [coming soon] to add unit tests, and removing global state is a big thing that unblocks unit testing.
To view, visit change 47655. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I389d34d62e753c012910aa5ff24a496b24a4753c
Gerrit-Change-Number: 47655
Gerrit-PatchSet: 6
Gerrit-Owner: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Eizan Miyamoto <eizan@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Daniel Kurtz <djkurtz@google.com>
Gerrit-Comment-Date: Mon, 30 Nov 2020 23:09:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Daniel Kurtz <djkurtz@google.com>
Comment-In-Reply-To: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-MessageType: comment