diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-08-09 06:35:43 +0200 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-08-14 23:49:58 +0000 |
commit | d4a46375dacaa82f9d8f3884e45c6972eeca082e (patch) | |
tree | 331361670ecbe9f190282e443423b64db94b142a /fmap.c | |
parent | fddcc379dca27896af3c93559c1390c2b3c6c59d (diff) | |
download | flashrom-d4a46375dacaa82f9d8f3884e45c6972eeca082e.tar.gz flashrom-d4a46375dacaa82f9d8f3884e45c6972eeca082e.tar.bz2 flashrom-d4a46375dacaa82f9d8f3884e45c6972eeca082e.zip |
pickit2_spi.c: Use one variable to store raw parameter values
Currently, each programmer parameter has their own temp variable to
store their raw value into it. That's not needed since these variables
are only used for a short time to do some configuration and stay unused
then. Thus, use only one variable for all of them.
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Change-Id: Ib4ebc0e6354aad007145e1b0a761d9011c59ff7c
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66571
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Thomas Heijligen <src@posteo.de>
Diffstat (limited to 'fmap.c')
0 files changed, 0 insertions, 0 deletions