summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2015-10-21 13:02:37 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-10-25 07:29:32 +0100
commit4919047d317608b88c3bbeea078279e13f258b64 (patch)
treea50980d3753d74955ce46e6e3b178de3209e26c3
parent6544cb3f1b431f96bb6d16f86e2cb4f75a4188b3 (diff)
downloadcoreboot-4919047d317608b88c3bbeea078279e13f258b64.tar.xz
yabel: Don't cast pointer to u32
Change-Id: I45b3412263507d92f443743d2ee63c9a8ef94795 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/12114 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--src/device/oprom/yabel/biosemu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/oprom/yabel/biosemu.c b/src/device/oprom/yabel/biosemu.c
index d27a5f1784..e53ffdbe48 100644
--- a/src/device/oprom/yabel/biosemu.c
+++ b/src/device/oprom/yabel/biosemu.c
@@ -170,7 +170,7 @@ biosemu(u8 *biosmem, u32 biosmem_size, struct device * dev, unsigned long rom_ad
break;
}
clr_ci();
- my_wrb((u32)mem_img + i, c);
+ my_wrb((uintptr_t)mem_img + i, c);
}
#endif
copy_count++;