aboutsummaryrefslogtreecommitdiffstats
path: root/ch341a_spi.c
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2022-07-29 16:16:25 +1000
committerAnastasia Klimchuk <aklm@chromium.org>2022-08-08 03:15:22 +0000
commit5c5b0a8fab59ec5b2daaac8caa6a0cb1343db0fe (patch)
tree789ec1954b3416c71e42b8fe3b98e0fdc610f098 /ch341a_spi.c
parent47541722c16a59fcc574397d5413ddc1b4a11cde (diff)
downloadflashrom-5c5b0a8fab59ec5b2daaac8caa6a0cb1343db0fe.tar.gz
flashrom-5c5b0a8fab59ec5b2daaac8caa6a0cb1343db0fe.tar.bz2
flashrom-5c5b0a8fab59ec5b2daaac8caa6a0cb1343db0fe.zip
tests: Add basic lifecycle test for mediatek_i2c_spi
This unit test does not require any additional mocks because init and shutdown of i2c infra was covered in realtek programmer lifecycle. Default mocking of i2c is sufficient to run a basic lifecycle. To run the test, config option for the programmer needs to be enabled explicitly, since by default this programmer is disabled. BUG=b:238816884 TEST=meson configure -Dconfig_mediatek_i2c_spi=true ninja test Change-Id: I98a12067d165c90013d33ffc45d20dab5c364c83 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/66261 Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Thomas Heijligen <src@posteo.de> Reviewed-by: Alexander Goncharov <chat@joursoir.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'ch341a_spi.c')
0 files changed, 0 insertions, 0 deletions