diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-07-18 07:34:35 +0200 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-07-22 01:30:22 +0000 |
commit | 3089a4d6846558829d56a280c2b2c4244ca6bec0 (patch) | |
tree | afcaaa8496b679666efabf27fea472a34e195c9f /util/flashrom_tester/src/utils.rs | |
parent | bde9479dc167aacbaaeb1bec2338eb9fb096e018 (diff) | |
download | flashrom-3089a4d6846558829d56a280c2b2c4244ca6bec0.tar.gz flashrom-3089a4d6846558829d56a280c2b2c4244ca6bec0.tar.bz2 flashrom-3089a4d6846558829d56a280c2b2c4244ca6bec0.zip |
realtek_mst_i2c_spi.c: Use bool type for parameters
Use the bool type instead of integer for options, since this represents
the purpose of their variables much better.
Also, use the bool type for the attribute `reset` from the struct
`realtek_mst_i2c_spi_data`, which is used to store the value of
the parameter `reset_mcu`.
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Change-Id: Idffd860e0de0bb82eec6102087e2e19783c32521
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65943
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Thomas Heijligen <src@posteo.de>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'util/flashrom_tester/src/utils.rs')
0 files changed, 0 insertions, 0 deletions