aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/amd/pi
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/pi
parentbddd157ea1508e5d13dd592533bc7607241388fa (diff)
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/pi')
-rw-r--r--src/cpu/amd/pi/00660F01/model_15_init.c1
-rw-r--r--src/cpu/amd/pi/00730F01/model_16_init.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/cpu/amd/pi/00660F01/model_15_init.c b/src/cpu/amd/pi/00660F01/model_15_init.c
index 24c2aea3d1..0540a72fad 100644
--- a/src/cpu/amd/pi/00660F01/model_15_init.c
+++ b/src/cpu/amd/pi/00660F01/model_15_init.c
@@ -86,7 +86,6 @@ static void model_15_init(struct device *dev)
for (i = 0; i < 6; i++)
wrmsr(MC0_STATUS + (i * 4), msr);
-
/* Enable the local CPU APICs */
setup_lapic();
diff --git a/src/cpu/amd/pi/00730F01/model_16_init.c b/src/cpu/amd/pi/00730F01/model_16_init.c
index b9e01852b8..3ae841d0b1 100644
--- a/src/cpu/amd/pi/00730F01/model_16_init.c
+++ b/src/cpu/amd/pi/00730F01/model_16_init.c
@@ -71,7 +71,6 @@ static void model_16_init(struct device *dev)
for (i = 0; i < 6; i++)
wrmsr(MC0_STATUS + (i * 4), msr);
-
/* Enable the local CPU APICs */
setup_lapic();
@@ -95,7 +94,6 @@ static void model_16_init(struct device *dev)
msr.hi &= ~(1 << (46 - 32));
wrmsr(NB_CFG_MSR, msr);
-
/* Write protect SMM space with SMMLOCK. */
msr = rdmsr(HWCR_MSR);
msr.lo |= (1 << 0);