[coreboot-gerrit] New patch to review for coreboot: yabel: Don't cast pointer to u32
Stefan Reinauer (stefan.reinauer@coreboot.org)
gerrit at coreboot.org
Wed Oct 21 22:07:09 CEST 2015
Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/12114
-gerrit
commit 4b23bac2f3c29b8bda83763feb84c4c86a47923a
Author: Stefan Reinauer <reinauer at chromium.org>
Date: Wed Oct 21 13:02:37 2015 -0700
yabel: Don't cast pointer to u32
Change-Id: I45b3412263507d92f443743d2ee63c9a8ef94795
Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
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 d27a5f1..e53ffdb 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++;
More information about the coreboot-gerrit
mailing list