diff options
author | Alexander Goncharov <chat@joursoir.net> | 2022-08-12 09:03:49 +0300 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-08-30 10:16:19 +0000 |
commit | 9307e68d688996f2d827a2a7e0e0ea4f151f0ff2 (patch) | |
tree | b72eeefceb3183398a39a18a7fa533e4bd6741dc /usbdev.c | |
parent | 7ebb18985d747de33224c856773da421b6895448 (diff) | |
download | flashrom-9307e68d688996f2d827a2a7e0e0ea4f151f0ff2.tar.gz flashrom-9307e68d688996f2d827a2a7e0e0ea4f151f0ff2.tar.bz2 flashrom-9307e68d688996f2d827a2a7e0e0ea4f151f0ff2.zip |
nicintel_eeprom: pack pci device struct into programmer's data
Move global variable into a struct and store within the opaque_master
data field 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: I69271bc77a6d7211e692c0b48d1853b95ffa80e9
Signed-off-by: Alexander Goncharov <chat@joursoir.net>
Ticket: https://ticket.coreboot.org/issues/391
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66691
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'usbdev.c')
0 files changed, 0 insertions, 0 deletions