Marc Jones (marc.jones@se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8222
-gerrit
commit b9a67add761713d2523f1621fa630bc269a676e9 Author: Furquan Shaikh furquan@google.com Date: Tue Jul 22 11:13:45 2014 -0700
fmap: Fix pointer related casts
BUG=None BRANCH=None TEST=Compiles
Original-Change-Id: I3a747cb562e7390bb81eca874d6c5aaa54b81e6e Original-Signed-off-by: Furquan Shaikh furquan@google.com Original-Reviewed-on: https://chromium-review.googlesource.com/209337 Original-Tested-by: Furquan Shaikh furquan@chromium.org Original-Reviewed-by: Aaron Durbin adurbin@chromium.org Original-Commit-Queue: Furquan Shaikh furquan@chromium.org (cherry picked from commit 5d3aef321a9313719308909ec40fdad0ec631a9f) Signed-off-by: Marc Jones marc.jones@se-eng.com
Change-Id: Ia8edf54f65947be12a7ae69f6825545fb2aed0f1 --- src/vendorcode/google/chromeos/fmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/vendorcode/google/chromeos/fmap.c b/src/vendorcode/google/chromeos/fmap.c index bc56a19..d758f57 100644 --- a/src/vendorcode/google/chromeos/fmap.c +++ b/src/vendorcode/google/chromeos/fmap.c @@ -122,7 +122,7 @@ int find_fmap_entry(const char name[], void **pointer) #endif }
- *pointer = (void*) ((u32)base + area->offset); + *pointer = (void*) ((uintptr_t)base + area->offset); printk(BIOS_DEBUG, "FMAP: %s at %p (offset %x)\n", name, *pointer, area->offset); return area->size;