aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp2_0/upd_display.c
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2016-09-28 17:15:00 -0700
committerLee Leahy <leroy.p.leahy@intel.com>2016-09-30 01:17:20 +0200
commit5a9ca4d1ec45c3304716df0f41b0d798aebbc844 (patch)
tree4c4168d6be7258b5b090beaffbc4247fdf79cb2f /src/drivers/intel/fsp2_0/upd_display.c
parent44ec92a48d4dd40f9cca2da66e875d0665b57215 (diff)
drivers/intel/fsp2_0: Fix debug display support
Fix errors in debug display support. BRANCH=none BUG=None TEST=Build FSP 2.0 (SEC/PEI core with all FSP debug on) and run on Galileo Gen2 Change-Id: I2ece056d66dc8568a7b7206970f20368ec5bf147 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/16809 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/drivers/intel/fsp2_0/upd_display.c')
-rw-r--r--src/drivers/intel/fsp2_0/upd_display.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/drivers/intel/fsp2_0/upd_display.c b/src/drivers/intel/fsp2_0/upd_display.c
index a588358ec1..1ef657df2c 100644
--- a/src/drivers/intel/fsp2_0/upd_display.c
+++ b/src/drivers/intel/fsp2_0/upd_display.c
@@ -19,15 +19,15 @@ void fsp_display_upd_value(const char *name, size_t size, uint64_t old,
{
size *= 2;
if (old == new) {
- printk(BIOS_SPEW, " 0x%0*llx: %s\n", size, new, name);
+ printk(BIOS_SPEW, " 0x%0*llx: %s\n", (int)size, new, name);
} else {
- printk(BIOS_SPEW, " 0x%0*llx --> 0x%0*llx: %s\n", size, old,
- size, new, name);
+ printk(BIOS_SPEW, " 0x%0*llx --> 0x%0*llx: %s\n", (int)size, old,
+ (int)size, new, name);
}
}
-static void fspm_display_arch_params(const struct FSPM_ARCH_UPD *old,
- const struct FSPM_ARCH_UPD *new)
+static void fspm_display_arch_params(const FSPM_ARCH_UPD *old,
+ const FSPM_ARCH_UPD *new)
{
/* Display the architectural parameters for MemoryInit */
printk(BIOS_SPEW, "Architectural UPD values for MemoryInit at: 0x%p\n",