diff options
author | Alexander Goncharov <chat@joursoir.net> | 2023-01-19 12:30:00 +0400 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2023-07-19 02:23:21 +0000 |
commit | e0fe2c7ca1b9754480b1cb55a572f7230835c393 (patch) | |
tree | a4940ff27c3cd484e4c94b68b58b54ace24087a3 /s25f.c | |
parent | 0f0f952740022e48cf2b98de6604566fce6eff6f (diff) | |
download | flashrom-e0fe2c7ca1b9754480b1cb55a572f7230835c393.tar.gz flashrom-e0fe2c7ca1b9754480b1cb55a572f7230835c393.tar.bz2 flashrom-e0fe2c7ca1b9754480b1cb55a572f7230835c393.zip |
ni845x_spi: refactor singleton states into reentrant pattern
Move global singleton states into a struct and store within
the spi_master data field for the life-time of the driver.
TOPIC=register_master_api
Change-Id: I45fcb8e20582cb0c532c4a9f0c78543a25f8d484
Signed-off-by: Alexander Goncharov <chat@joursoir.net>
Ticket: https://ticket.coreboot.org/issues/391
Reviewed-on: https://review.coreboot.org/c/flashrom/+/72160
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 's25f.c')
0 files changed, 0 insertions, 0 deletions