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>
This commit is contained in:
Zheng Bao 2021-10-14 16:15:11 +08:00 committed by Felix Held
parent e01e9b83f9
commit c88f2b5be7
1 changed files with 4 additions and 4 deletions

View File

@ -126,10 +126,10 @@ static uint32_t fletcher32(const void *data, int length)
while (length) { while (length) {
index = length >= 359 ? 359 : length; index = length >= 359 ? 359 : length;
length -= index; length -= index;
do { do {
c0 += *(pptr++); c0 += *(pptr++);
c1 += c0; c1 += c0;
} while (--index); } while (--index);
c0 = (c0 & 0xFFFF) + (c0 >> 16); c0 = (c0 & 0xFFFF) + (c0 >> 16);
c1 = (c1 & 0xFFFF) + (c1 >> 16); c1 = (c1 & 0xFFFF) + (c1 >> 16);
} }