aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/intel/haswell/smmrelocate.c
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-15 17:16:59 -0700
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-16 04:13:06 +0100
commit7b5f12b9b2695359b6ccb4d62bdb868166c7f8d1 (patch)
tree6b04150aa316965fd472b3dc127c374df6b34469 /src/cpu/intel/haswell/smmrelocate.c
parentdfc8a560d7fec715a652f428dc3cab3e0a92c680 (diff)
cpu/intel: Indent with tabs
Fix the following error and warning detected by checkpatch.pl: ERROR: code indent should use tabs where possible WARNING: please, no space before tabs TEST=Build and run on Galileo Gen2 Change-Id: I5bcd82561ef5856e99055d46528dcf3a283d2310 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18846 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/cpu/intel/haswell/smmrelocate.c')
-rw-r--r--src/cpu/intel/haswell/smmrelocate.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/cpu/intel/haswell/smmrelocate.c b/src/cpu/intel/haswell/smmrelocate.c
index 34a35516a7..3ec009ec37 100644
--- a/src/cpu/intel/haswell/smmrelocate.c
+++ b/src/cpu/intel/haswell/smmrelocate.c
@@ -221,7 +221,7 @@ static u32 northbridge_get_base_reg(struct device *dev, int reg)
}
static void fill_in_relocation_params(struct device *dev,
- struct smm_relocation_params *params)
+ struct smm_relocation_params *params)
{
u32 tseg_size;
u32 tsegmb;
@@ -273,7 +273,7 @@ static void fill_in_relocation_params(struct device *dev,
params->uncore_emrr_base.lo = emrr_base;
params->uncore_emrr_base.hi = 0;
params->uncore_emrr_mask.lo = (~(emrr_size - 1) & rmask) |
- MTRR_PHYS_MASK_VALID;
+ MTRR_PHYS_MASK_VALID;
params->uncore_emrr_mask.hi = (1 << (39 - 32)) - 1;
}
@@ -297,7 +297,9 @@ static void setup_ied_area(struct smm_relocation_params *params)
/* According to the BWG MP init section 2MiB of memory at IEDBASE +
* 2MiB should be zeroed as well. However, I suspect what is intended
- * is to clear the memory covered by EMRR. TODO(adurbin): figure out if * this is really required. */
+ * is to clear the memory covered by EMRR. TODO(adurbin): figure out if
+ * this is really required.
+ */
//memset(ied_base + (2 << 20), 0, (2 << 20));
}