aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hwaccess_x86_io_unittest.h
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-10-29 15:26:28 +1100
committerNico Huber <nico.h@gmx.de>2022-02-02 21:51:53 +0000
commit97a1683c85b1f24ff0605e7571d2f6094e32a547 (patch)
tree5d9782b4d2d4d0afde0fa9bf747b4e4532e1ff72 /tests/hwaccess_x86_io_unittest.h
parent629379029310a3f76decdeeb2199a267bfffac34 (diff)
downloadflashrom-97a1683c85b1f24ff0605e7571d2f6094e32a547.tar.gz
flashrom-97a1683c85b1f24ff0605e7571d2f6094e32a547.tar.bz2
flashrom-97a1683c85b1f24ff0605e7571d2f6094e32a547.zip
ichspi: Extract initialisation of swseq and hwseq into a function
Initialisation of swseq_data and hwseq_data gets its own function, which is called from init_ich_default. This makes init_ich_default more readable. This patch also gives a name to (previously anonymous) struct swseq_data. Its sibling struct hwseq_data already has a name. Structs need names to be able to declare function parameters. 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: I7d62b1b380e497b82dcae1284d752204cc541bd3 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/+/58737 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'tests/hwaccess_x86_io_unittest.h')
0 files changed, 0 insertions, 0 deletions