From 4919047d317608b88c3bbeea078279e13f258b64 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 21 Oct 2015 13:02:37 -0700 Subject: [PATCH] yabel: Don't cast pointer to u32 Change-Id: I45b3412263507d92f443743d2ee63c9a8ef94795 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/12114 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/device/oprom/yabel/biosemu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++;