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>
This commit is contained in:
Stefan Reinauer 2015-10-21 13:02:37 -07:00 committed by Patrick Georgi
parent 6544cb3f1b
commit 4919047d31
1 changed files with 1 additions and 1 deletions

View File

@ -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++;