diff options
author | Martin Roth <martin@coreboot.org> | 2019-10-23 21:45:23 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-10-27 21:08:58 +0000 |
commit | 57e89090818537d6dd9bd478a3aa6b5ec2ea8704 (patch) | |
tree | a218f5dba2bbd93ccc5fc3dc754499244e5378b7 /src/soc/intel/fsp_baytrail/tsc_freq.c | |
parent | ad0f4853619b1c239b8ace7554958c6b4932c04f (diff) | |
download | coreboot-57e89090818537d6dd9bd478a3aa6b5ec2ea8704.tar.xz |
src/soc: change "unsigned" to "unsigned int"
Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: I9c1228d3f9e7a12fe30c48e3b1f143520fed875c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36332
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/soc/intel/fsp_baytrail/tsc_freq.c')
-rw-r--r-- | src/soc/intel/fsp_baytrail/tsc_freq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/fsp_baytrail/tsc_freq.c b/src/soc/intel/fsp_baytrail/tsc_freq.c index 6605575691..d31ddd9be3 100644 --- a/src/soc/intel/fsp_baytrail/tsc_freq.c +++ b/src/soc/intel/fsp_baytrail/tsc_freq.c @@ -19,7 +19,7 @@ #include <soc/msr.h> #include <soc/baytrail.h> -unsigned bus_freq_khz(void) +unsigned int bus_freq_khz(void) { msr_t clk_info = rdmsr(MSR_BSEL_CR_OVERCLOCK_CONTROL); switch (clk_info.lo & 0x3) { @@ -39,7 +39,7 @@ unsigned bus_freq_khz(void) unsigned long tsc_freq_mhz(void) { msr_t platform_info; - unsigned bclk_khz = bus_freq_khz(); + unsigned int bclk_khz = bus_freq_khz(); if (!bclk_khz) return 0; |