diff options
author | Edward O'Callaghan <quasisec@google.com> | 2023-01-30 23:00:32 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2023-02-02 02:08:13 +0000 |
commit | ec6eaff2f8d5402c028668f12fbec6fdb9d8fb14 (patch) | |
tree | 002f21d9216538b004a59de2117aef1de90cd8c0 | |
parent | 7378557e5460448de704c18bb2b2627152caa935 (diff) | |
download | flashrom-ec6eaff2f8d5402c028668f12fbec6fdb9d8fb14.tar.gz flashrom-ec6eaff2f8d5402c028668f12fbec6fdb9d8fb14.tar.bz2 flashrom-ec6eaff2f8d5402c028668f12fbec6fdb9d8fb14.zip |
jedec.c: Trivial code style fix
Change-Id: I42ebdda07512d0a84a6bd6d0630f96c40f039259
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/72606
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | jedec.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -196,8 +196,7 @@ int probe_jedec(struct flashctx *flash) if (probe_timing_enter) programmer_delay(flash, probe_timing_enter); /* Reset chip to a clean slate */ - if ((chip->feature_bits & FEATURE_RESET_MASK) == FEATURE_LONG_RESET) - { + if ((chip->feature_bits & FEATURE_RESET_MASK) == FEATURE_LONG_RESET) { chip_writeb(flash, 0xAA, bios + ((shifted ? 0x2AAA : 0x5555) & mask)); if (probe_timing_exit) programmer_delay(flash, 10); @@ -239,8 +238,7 @@ int probe_jedec(struct flashctx *flash) } /* Issue JEDEC Product ID Exit command */ - if ((chip->feature_bits & FEATURE_RESET_MASK) == FEATURE_LONG_RESET) - { + if ((chip->feature_bits & FEATURE_RESET_MASK) == FEATURE_LONG_RESET) { chip_writeb(flash, 0xAA, bios + ((shifted ? 0x2AAA : 0x5555) & mask)); if (probe_timing_exit) programmer_delay(flash, 10); |