diff options
author | Zheng Bao <zheng.bao@amd.corp-partner.google.com> | 2021-10-14 16:15:11 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-08-29 22:52:59 +0000 |
commit | c88f2b5be7ed339397a6cb1555565d7b2b4514b2 (patch) | |
tree | 32471a346e2bef9ec27b20a85c58d3bde12218f6 /util/amdfwtool | |
parent | e01e9b83f901aeb636b1d891c8cd3dbeee0dfcca (diff) |
amdfwtool: Fix indentation
Change-Id: I4c57c9bade318d54315f9692cd37edb694e33aa9
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58320
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/amdfwtool')
-rw-r--r-- | util/amdfwtool/amdfwtool.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index 6d5d486169..a33ca03fda 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -126,10 +126,10 @@ static uint32_t fletcher32(const void *data, int length) while (length) { index = length >= 359 ? 359 : length; length -= index; - do { - c0 += *(pptr++); - c1 += c0; - } while (--index); + do { + c0 += *(pptr++); + c1 += c0; + } while (--index); c0 = (c0 & 0xFFFF) + (c0 >> 16); c1 = (c1 & 0xFFFF) + (c1 >> 16); } |