MA-10587 [Android]u-boot: Remove build warning in f_fastboot.c
authorZhang Bo <bo.zhang@nxp.com>
Mon, 6 Nov 2017 06:54:34 +0000 (14:54 +0800)
committerZhang Bo <bo.zhang@nxp.com>
Wed, 8 Nov 2017 10:41:20 +0000 (18:41 +0800)
commit3b9d581b810db72aafda740e85d3278c0860c046
treea24b329627b867286d913d834037719dfda504c0
parent67aa1c9e3537ce2d742aef2026a9e78d92eb345e
MA-10587 [Android]u-boot: Remove build warning in f_fastboot.c

The warnings in f_fastboot.c is because the size of a pointer is 64bits,
while the variables in header structure is 32bits. Need to convert manually
at first.
The function partition_table_valid() is useful only when CONFIG_FSL_FASTBOOT and
CONFIG_FASTBOOT_LOCK are defined.

Change-Id: I480f254465096bd61b9075dff0d3fb6ab4bc44af
Signed-off-by: Zhang Bo <bo.zhang@nxp.com>
drivers/usb/gadget/f_fastboot.c