diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-07-07 20:04:41 +1000 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-07-15 15:20:18 +0200 |
commit | 8f3de28af38e770808104dfda663dd942f616a6a (patch) | |
tree | 1c30c6fc0f2832e46e722f66b611ce1fa1121bba /src/drivers | |
parent | 913e1718cdb3168117555287b99d00d6e6fed55d (diff) | |
download | coreboot-8f3de28af38e770808104dfda663dd942f616a6a.tar.xz |
drivers/intel/fsp/fsp_util: 'long unsigned int' is 'unsigned long'
This is a bit of strange way to write 'unsigned long', fix that.
Change-Id: I17caf971dac840e0f35f883dacfbd5c94d8c03d6
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/6196
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/intel/fsp/fsp_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/intel/fsp/fsp_util.c b/src/drivers/intel/fsp/fsp_util.c index 4e1db6b838..a9b5624676 100644 --- a/src/drivers/intel/fsp/fsp_util.c +++ b/src/drivers/intel/fsp/fsp_util.c @@ -226,7 +226,7 @@ static void print_hob_mem_attributes(void *Hobptr) { printk(BIOS_SPEW, " Memory type %s (0x%x)\n", Hobmemtypenames[(u32)Hobmemtype], (u32) Hobmemtype); printk(BIOS_SPEW, " at location 0x%0lx with length 0x%0lx\n", - (long unsigned int)Hobmemaddr, (long unsigned int)Hobmemlength); + (unsigned long)Hobmemaddr, (unsigned long)Hobmemlength); } static void print_hob_resource_attributes(void *Hobptr) { @@ -263,7 +263,7 @@ static void print_hob_resource_attributes(void *Hobptr) { printk(BIOS_SPEW, " Resource %s (0x%0x) has attributes 0x%0x\n", Hobrestypestr, Hobrestype, Hobresattr); printk(BIOS_SPEW, " at location 0x%0lx with length 0x%0lx\n", - (long unsigned int)Hobresaddr, (long unsigned int)Hobreslength); + (unsigned long)Hobresaddr, (unsigned long)Hobreslength); } static const char * get_hob_type_string(void *Hobptr) { |