libpayload: Get rid of a compiler warning
Change-Id: I7252925ef5c4efb69cad6b6fa179031162cf8e74 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/61058 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Commit-Queue: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org> Reviewed-on: http://review.coreboot.org/4346 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
cb0aeef0a9
commit
c083d2e347
|
@ -31,6 +31,7 @@
|
||||||
#include <libpayload-config.h>
|
#include <libpayload-config.h>
|
||||||
#include <libpayload.h>
|
#include <libpayload.h>
|
||||||
#include <coreboot_tables.h>
|
#include <coreboot_tables.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Some of this is x86 specific, and the rest of it is generic. Right now,
|
* Some of this is x86 specific, and the rest of it is generic. Right now,
|
||||||
|
@ -83,7 +84,7 @@ static void cb_parse_vboot_handoff(unsigned char *ptr, struct sysinfo_t *info)
|
||||||
{
|
{
|
||||||
struct cb_vboot_handoff *vbho = (struct cb_vboot_handoff *)ptr;
|
struct cb_vboot_handoff *vbho = (struct cb_vboot_handoff *)ptr;
|
||||||
|
|
||||||
info->vboot_handoff = vbho->vboot_handoff_addr;
|
info->vboot_handoff = (void *)(uintptr_t)vbho->vboot_handoff_addr;
|
||||||
info->vboot_handoff_size = vbho->vboot_handoff_size;
|
info->vboot_handoff_size = vbho->vboot_handoff_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue