aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-10-29 15:01:05 +1100
committerNico Huber <nico.h@gmx.de>2022-02-02 21:51:34 +0000
commit629379029310a3f76decdeeb2199a267bfffac34 (patch)
treeaf3b63fb3177b183d8e210b8d5ed2e0562d88787 /Makefile
parent0d7767ecdba86fc580503000d8915c052da16e62 (diff)
downloadflashrom-629379029310a3f76decdeeb2199a267bfffac34.tar.gz
flashrom-629379029310a3f76decdeeb2199a267bfffac34.tar.bz2
flashrom-629379029310a3f76decdeeb2199a267bfffac34.zip
ichspi: Extract handling programmer param into a function
Extract processing of ich_spi_mode into a separate function which is called from init_ich_default. This makes init_ich_default more readable and avoids one local variable. BUG=b:204488958 TEST=Check that the following scenarios still behave properly: 1) probe-read-verify-erase section-write-reboot on Intel octopus board with GD25LQ128C/GD25LQ128D/GD25LQ128E 2) probe and read on Panther Point (7 series PCH) Change-Id: I20e2379a6fd58c9346f0a2d6daf2b8decf1f6976 Tested-by: Anastasia Klimchuk <aklm@chromium.org> Tested-by: Nico Huber <nico.h@gmx.de> Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/58736 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions