summaryrefslogtreecommitdiff
path: root/src/cpu/amd/family_10h-family_15h
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2018-08-07 11:50:54 -0600
committerMartin Roth <martinroth@google.com>2018-08-08 17:50:45 +0000
commite13dd172b12a51472641939c42005d40d7328836 (patch)
tree6973632d94162f3f2c171b4a5a88b1de74ff0c17 /src/cpu/amd/family_10h-family_15h
parentbddd157ea1508e5d13dd592533bc7607241388fa (diff)
downloadcoreboot-e13dd172b12a51472641939c42005d40d7328836.tar.xz
cpu/amd: Improve formatting
Remove for() braces from around single lines. Remove extra blank lines. This cleans up checkpatch problems in a subsequent patch. Change-Id: I329ac03365e51799581c56eed27ee54de6826f14 Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/27935 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/cpu/amd/family_10h-family_15h')
-rw-r--r--src/cpu/amd/family_10h-family_15h/model_10xxx_init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/amd/family_10h-family_15h/model_10xxx_init.c b/src/cpu/amd/family_10h-family_15h/model_10xxx_init.c
index 61eb81393a..74d4673bc0 100644
--- a/src/cpu/amd/family_10h-family_15h/model_10xxx_init.c
+++ b/src/cpu/amd/family_10h-family_15h/model_10xxx_init.c
@@ -111,9 +111,8 @@ static void model_10xxx_init(struct device *dev)
/* zero the machine check error status registers */
msr.lo = 0;
msr.hi = 0;
- for (i = 0; i < 5; i++) {
+ for (i = 0; i < 5; i++)
wrmsr(MC0_STATUS + (i * 4), msr);
- }
enable_cache();