summaryrefslogtreecommitdiff
path: root/src/drivers/amd/agesa/mtrr_fixme.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2022-01-27 07:55:34 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-28 15:10:46 +0000
commit0bc5d9dfff8ecd380fa914a6e0885aef04467f8d (patch)
treefa1fc19c9f19b8e315b8d8e8fd152bd541c5a62d /src/drivers/amd/agesa/mtrr_fixme.c
parentf711bf03a694bc594a610a70251716d425fbe101 (diff)
src/{drivers,soc}: Fix some code indents
Change-Id: I55682de4a1bc74f170e2044de35b0d8d53ef51ff Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61413 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src/drivers/amd/agesa/mtrr_fixme.c')
-rw-r--r--src/drivers/amd/agesa/mtrr_fixme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/amd/agesa/mtrr_fixme.c b/src/drivers/amd/agesa/mtrr_fixme.c
index a880ce7e01..c589553698 100644
--- a/src/drivers/amd/agesa/mtrr_fixme.c
+++ b/src/drivers/amd/agesa/mtrr_fixme.c
@@ -20,7 +20,7 @@ static void set_range_uc(u32 base, u32 size)
for (i = 0; i < max_var_mtrrs; i++) {
msr = rdmsr(MTRR_PHYS_MASK(i));
if (!(msr.lo & MTRR_PHYS_MASK_VALID))
- break;
+ break;
}
if (i == max_var_mtrrs)
die("Run out of unused MTRRs\n");