diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2015-10-21 13:05:32 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-10-25 07:29:55 +0100 |
commit | 67a71ea230e1678f3e281ba7431cdbab7ec9e8b1 (patch) | |
tree | d998dbd77174ead3f184f67c52056922cd9474e2 /src/device/oprom | |
parent | 21f8193843234ab0f2c256719ab3681201f3d3dd (diff) |
yabel: explicitly cast values to match printk expectations
Change-Id: Id2230ecd800b138b6ccbbac318e71c9edf076c75
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/12116
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/device/oprom')
-rw-r--r-- | src/device/oprom/yabel/device.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/oprom/yabel/device.h b/src/device/oprom/yabel/device.h index a8dfc8c4a1..b8891eec2d 100644 --- a/src/device/oprom/yabel/device.h +++ b/src/device/oprom/yabel/device.h @@ -176,10 +176,10 @@ dumpHID(void) u64 hid; //HID1 = 1009 __asm__ __volatile__("mfspr %0, 1009":"=r"(hid)); - printf("HID1: %016llx\n", hid); + printf("HID1: %016llx\n", (unsigned long long)hid); //HID4 = 1012 __asm__ __volatile__("mfspr %0, 1012":"=r"(hid)); - printf("HID4: %016llx\n", hid); + printf("HID4: %016llx\n", (unsigned long long)hid); } #endif |