Attention is currently required from: Nico Huber, Edward O'Callaghan, Anastasia Klimchuk.
Anastasia Klimchuk uploaded patch set #2 to this change.
mcp6x_spi.c: Refactor singleton states into reentrant pattern
Move global singleton states into a struct and store within
the bitbang_spi_master data field for the life-time of the driver.
This patch also drops `mcp6x` and `mcp` prefixes from spi data
struct members.
This is one of the steps on the way to move spi_master data
memory management behind the initialisation API, for more
context see other patches under the same topic "register_master_api".
BUG=b:185191942
TEST=builds
Change-Id: Ia02c1cb9d36fb7b15bb7e09b769d8969c08c2bd5
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
---
M mcp6x_spi.c
1 file changed, 56 insertions(+), 23 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/94/54994/2
To view, visit change 54994. To unsubscribe, or for help writing mail filters, visit settings.