From c88f2b5be7ed339397a6cb1555565d7b2b4514b2 Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Thu, 14 Oct 2021 16:15:11 +0800 Subject: amdfwtool: Fix indentation Change-Id: I4c57c9bade318d54315f9692cd37edb694e33aa9 Signed-off-by: Zheng Bao Reviewed-on: https://review.coreboot.org/c/coreboot/+/58320 Reviewed-by: Angel Pons Reviewed-by: Matt DeVillier Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- util/amdfwtool/amdfwtool.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'util/amdfwtool/amdfwtool.c') 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); } -- cgit v1.2.3