cbmem: Fix 64-bit pointer related casts in dynamic_cbmem.c

Change-Id: I7a382d42e1552d13b1feffc37848674f304adee2
Signed-off-by: Marcelo Povoa <marcelogp@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/187726
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
Reviewed-by: David Hendricks <dhendrix@chromium.org>
(cherry picked from commit 57bbca93f12e0ddbde3e673070483e13521dfbdd)
Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com>
Reviewed-on: http://review.coreboot.org/6973
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
Marcelo Povoa 2014-02-24 10:00:26 -08:00 committed by Marc Jones
parent 845aa1416d
commit 4b90b79922
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ static inline int cbmem_fail_recovery(void)
static int validate_entries(struct cbmem_root *root)
{
unsigned int i;
u32 current_end;
uintptr_t current_end;
current_end = (uintptr_t)get_top_aligned();