aboutsummaryrefslogtreecommitdiffstats
path: root/i2c_helper_linux.c
diff options
context:
space:
mode:
authorAlexander Goncharov <chat@joursoir.net>2022-08-11 21:47:13 +0300
committerAnastasia Klimchuk <aklm@chromium.org>2022-08-30 10:13:47 +0000
commit3234e04743ebcfed542ec7c551fd17435c5cbc1a (patch)
tree4664333b922b8b0d18fa9ab26f42fd8b3fdd0059 /i2c_helper_linux.c
parent95b6cf183522870d65a6aa34cab0c9a2b2f0870e (diff)
downloadflashrom-3234e04743ebcfed542ec7c551fd17435c5cbc1a.tar.gz
flashrom-3234e04743ebcfed542ec7c551fd17435c5cbc1a.tar.bz2
flashrom-3234e04743ebcfed542ec7c551fd17435c5cbc1a.zip
nicintel_eeprom: refactor i210 variable into reentrant pattern
Move global Intel I210 specific variable into a struct and store within the opaque_master data filed for the life-time of the driver. This is one of the steps on the way to move opaque_master data memory management behind the initialisation API. TOPIC=register_master_api TEST=builds Change-Id: Ifda0d8666399ea165bac6378c57720b5560806f1 Signed-off-by: Alexander Goncharov <chat@joursoir.net> Ticket: https://ticket.coreboot.org/issues/391 Reviewed-on: https://review.coreboot.org/c/flashrom/+/66690 Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Thomas Heijligen <src@posteo.de> Reviewed-by: Felix Singer <felixsinger@posteo.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'i2c_helper_linux.c')
0 files changed, 0 insertions, 0 deletions