diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-07-16 11:28:48 +0200 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-08-14 23:39:54 +0000 |
commit | a93c2e7d1ee7af62c1f9bb342e6025ae1aa4c90d (patch) | |
tree | 556faeb02d19407640e7776b74e0782719ef185b /spi25.c | |
parent | bcdfcaf9b083ac4ce512c796313bdf1c6a143ff7 (diff) | |
download | flashrom-a93c2e7d1ee7af62c1f9bb342e6025ae1aa4c90d.tar.gz flashrom-a93c2e7d1ee7af62c1f9bb342e6025ae1aa4c90d.tar.bz2 flashrom-a93c2e7d1ee7af62c1f9bb342e6025ae1aa4c90d.zip |
stlinkv3_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: I548bb2e0786be0af20114e6bf1450c5fedb83d23
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65910
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Thomas Heijligen <src@posteo.de>
Diffstat (limited to 'spi25.c')
0 files changed, 0 insertions, 0 deletions