summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell/bootblock
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-16 19:00:37 -0700
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-17 18:03:59 +0100
commit23602dfd6812dba0499318e1ec25492faa17febb (patch)
treedec83ada3f60be39bbc7aa1fc3b1c0daf2b527bb /src/soc/intel/broadwell/bootblock
parent26b7cd0fa86562402b72509319a2b98ce8c21a8e (diff)
downloadcoreboot-23602dfd6812dba0499318e1ec25492faa17febb.tar.xz
soc/intel/broadwell: Add int to unsigned
Fix the following issue detected by checkpatch: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' TEST=None Change-Id: Iae22e724b6adae16248db7dc8f822f65bfadae5f Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18873 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Diffstat (limited to 'src/soc/intel/broadwell/bootblock')
-rw-r--r--src/soc/intel/broadwell/bootblock/cpu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/soc/intel/broadwell/bootblock/cpu.c b/src/soc/intel/broadwell/bootblock/cpu.c
index 0f665bdeb5..133b1a40d7 100644
--- a/src/soc/intel/broadwell/bootblock/cpu.c
+++ b/src/soc/intel/broadwell/bootblock/cpu.c
@@ -24,9 +24,8 @@
#include <soc/rcba.h>
#include <soc/msr.h>
-static void set_var_mtrr(
- unsigned reg, unsigned base, unsigned size, unsigned type)
-
+static void set_var_mtrr(unsigned int reg, unsigned int base, unsigned int size,
+ unsigned int type)
{
/* Bit Bit 32-35 of MTRRphysMask should be set to 1 */
msr_t basem, maskm;