[U-Boot] [PULL] u-boot-usb/master

The following changes since commit 2d7cb5b426e7e0cdf684d7f8029ad132d7a8d383:
env: Replace all open-coded gd->env_valid values with ENV_ flags (2017-08-20 19:27:44 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-usb.git master
for you to fetch changes up to 5bf4475f1d7726541edec0060c6461fbb37db02d:
doc: license: Add license header to the README.dfutftp file (2017-08-21 11:31:11 +0200)
---------------------------------------------------------------- Bin Meng (1): usb: ehci: Convert CONFIG_USB_EHCI_PCI to Kconfig
John Keeping (1): fastboot: avoid printing invalid data
Lukasz Majewski (1): doc: license: Add license header to the README.dfutftp file
Peter Chubb (1): Fix fastboot boot address
Tom Rini (2): common/fb_mmc.c: Fix warnings about casts fb_mmc.c: Correct blk_dread() return value checks
common/fb_mmc.c | 8 ++++----
configs/MPC8544DS_defconfig | 1 +
configs/MPC8572DS_36BIT_defconfig | 1 +
configs/MPC8572DS_defconfig | 1 +
doc/README.dfutftp | 8 ++++++++ drivers/usb/gadget/f_fastboot.c | 4 ++-- drivers/usb/host/Kconfig | 6 ++++++ include/configs/MPC8544DS.h | 1 - include/configs/MPC8572DS.h | 1 - include/configs/efi-x86.h | 1 - include/configs/x86-common.h | 1 - scripts/config_whitelist.txt | 1 - 12 files changed, 23 insertions(+), 11 deletions(-)

Otherwise: drivers/usb/gadget/f_fastboot.c:564:32: warning: format "%lx" expects argument of type "long unsigned int", but argument 3 has type "unsigned int" [-Wformat=]
Signed-off-by: Tom Rini trini@konsulko.com --- drivers/usb/gadget/f_fastboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c index 199621d9f540..f3382a965bed 100644 --- a/drivers/usb/gadget/f_fastboot.c +++ b/drivers/usb/gadget/f_fastboot.c @@ -561,7 +561,7 @@ static void do_bootm_on_complete(struct usb_ep *ep, struct usb_request *req)
puts("Booting kernel..\n");
- sprintf(boot_addr_start, "0x%lx", CONFIG_FASTBOOT_BUF_ADDR); + sprintf(boot_addr_start, "0x%lx", (long)CONFIG_FASTBOOT_BUF_ADDR); do_bootm(NULL, 0, 2, bootm_args);
/* This only happens if image is somehow faulty so we start over */

On Tue, Aug 22, 2017 at 04:49:54PM -0400, Tom Rini wrote:
Otherwise: drivers/usb/gadget/f_fastboot.c:564:32: warning: format "%lx" expects argument of type "long unsigned int", but argument 3 has type "unsigned int" [-Wformat=]
Signed-off-by: Tom Rini trini@konsulko.com
Applied to u-boot/master, thanks!

On Mon, Aug 21, 2017 at 11:32:42AM +0200, Marek Vasut wrote:
The following changes since commit 2d7cb5b426e7e0cdf684d7f8029ad132d7a8d383:
env: Replace all open-coded gd->env_valid values with ENV_ flags (2017-08-20 19:27:44 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-usb.git master
for you to fetch changes up to 5bf4475f1d7726541edec0060c6461fbb37db02d:
doc: license: Add license header to the README.dfutftp file (2017-08-21 11:31:11 +0200)
Applied to u-boot/master, thanks!
participants (2)
-
Marek Vasut
-
Tom Rini