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

Marek Vasut
2018-05-31T18:06:20Z

The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7:

add FIT data-position & data-offset property support (2018-05-26
18:19:19 -0400)

are available in the Git repository at:

git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 277b1333b780acd8ddb761c9160c06ffdf1c3901:

fastboot: Update fastboot documentation (2018-05-30 11:59:21 +0200)

----------------------------------------------------------------
Alex Kiernan (18):
fastboot: Move fastboot to drivers/fastboot
fastboot: Refactor fastboot_okay/fail to take response
fastboot: Extract fastboot_okay/fail to fb_common.c
fastboot: Correct dependencies in FASTBOOT_FLASH
fastboot: Add missing newlines
fastboot: Remove FIXME for CONFIG_FASTBOOT_...NAME
fastboot: Fix parameter types in _fb_nand_write
fastboot: Rename fb_set_reboot_flag to fastboot_set_reboot_flag
fastboot: Extract common definitions from USB fastboot
fastboot: Rename public fb_ functions to fastboot_
ti: fastboot: Move weak overrides to board files
fs: Add fs_get_type_name to return current filesystem name
fastboot: Migrate FASTBOOT_FLASH_NAND_TRIMFFS to Kconfig
mmc: Separate "mmc swrite" from fastboot
net: fastboot: Merge AOSP UDP fastboot
fastboot: Add support for 'oem format' command
usb: fastboot: Convert USB f_fastboot to shared fastboot
fastboot: Update fastboot documentation

Bin Meng (4):
usb: xhci: Set accurate add context flags when updating hub attributes
usb: xhci: Initialize dev_state to 0 in the input slot context
usb: xhci: Fix config fail of FS hub behind a HS hub with MTT
usb: xhci: Handle endianness in xhci_set_configuration()

Matthias Blankertz (1):
usb: xhci-rcar: deregister before deactivating clock

Philipp Tomsich (1):
rockchip: xhci: remove DTS parsing for PHY (which is unused)

Seung-Woo Kim (1):
gadget: f_thor: Fix memory leaks of usb request and its buffer

arch/arm/Kconfig | 2 -
arch/arm/mach-omap2/boot-common.c | 10 ----
arch/arm/mach-omap2/utils.c | 4 +-
arch/arm/mach-rockchip/rk3128-board.c | 4 +-
arch/arm/mach-rockchip/rk322x-board.c | 4 +-
board/amazon/kc1/kc1.c | 2 +-
board/lg/sniper/sniper.c | 2 +-
board/ti/am57xx/board.c | 10 ++++
board/ti/common/Kconfig | 1 -
board/ti/dra7xx/evm.c | 10 ++++
cmd/Kconfig | 22 ++++++++-
cmd/fastboot.c | 91
++++++++++++++++++++++++++++++++++--
cmd/mmc.c | 14 +++---
common/Makefile | 14 ------
configs/A13-OLinuXino_defconfig | 1 +
configs/A20-OLinuXino-Lime2-eMMC_defconfig | 1 +
configs/A20-OLinuXino-Lime2_defconfig | 1 +
configs/A20-Olimex-SOM204-EVB-eMMC_defconfig | 1 +
configs/A20-Olimex-SOM204-EVB_defconfig | 1 +
configs/Bananapi_m2m_defconfig | 1 +
configs/Cubietruck_defconfig | 1 +
configs/Sinlinx_SinA33_defconfig | 1 +
configs/am335x_boneblack_defconfig | 7 +--
configs/am335x_boneblack_vboot_defconfig | 2 +-
configs/am335x_evm_defconfig | 2 +-
configs/am335x_evm_nor_defconfig | 2 +-
configs/am335x_evm_norboot_defconfig | 2 +-
configs/am335x_evm_spiboot_defconfig | 2 +-
configs/am335x_evm_usbspl_defconfig | 2 +-
configs/am57xx_evm_defconfig | 13 +++---
configs/am57xx_hs_evm_defconfig | 13 +++---
configs/bcm23550_w1d_defconfig | 2 +-
configs/bcm28155_ap_defconfig | 2 +-
configs/birdland_bav335a_defconfig | 2 +-
configs/birdland_bav335b_defconfig | 2 +-
configs/cgtqmx6eval_defconfig | 2 +-
configs/chromebit_mickey_defconfig | 5 +-
configs/chromebook_jerry_defconfig | 5 +-
configs/chromebook_minnie_defconfig | 5 +-
configs/dra7xx_evm_defconfig | 11 +++--
configs/dra7xx_hs_evm_defconfig | 11 +++--
configs/evb-rk3036_defconfig | 5 +-
configs/evb-rk3128_defconfig | 9 ++--
configs/evb-rk3229_defconfig | 5 +-
configs/evb-rk3288_defconfig | 5 +-
configs/evb-rk3328_defconfig | 7 +--
configs/fennec-rk3288_defconfig | 5 +-
configs/firefly-rk3288_defconfig | 5 +-
configs/imx6dl_mamoj_defconfig | 2 +-
configs/kc1_defconfig | 2 +-
configs/kylin-rk3036_defconfig | 5 +-
configs/miqi-rk3288_defconfig | 5 +-
configs/mx6qsabrelite_defconfig | 2 +-
configs/mx6sabresd_defconfig | 2 +-
configs/nitrogen6dl2g_defconfig | 2 +-
configs/nitrogen6dl_defconfig | 2 +-
configs/nitrogen6q2g_defconfig | 2 +-
configs/nitrogen6q_defconfig | 2 +-
configs/nitrogen6s1g_defconfig | 2 +-
configs/nitrogen6s_defconfig | 2 +-
configs/omap3_beagle_defconfig | 2 +-
configs/omap3_evm_defconfig | 2 +-
configs/omap3_logic_defconfig | 2 +-
configs/parrot_r16_defconfig | 1 +
configs/phycore-rk3288_defconfig | 5 +-
configs/popmetal-rk3288_defconfig | 5 +-
configs/rock2_defconfig | 5 +-
configs/sniper_defconfig | 2 +-
configs/stih410-b2260_defconfig | 11 +++--
configs/tbs_a711_defconfig | 1 +
configs/tinker-rk3288_defconfig | 5 +-
configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 7 +--
configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 2 +-
configs/xilinx_zynqmp_zcu102_rev1_0_defconfig | 7 +--
configs/xilinx_zynqmp_zcu102_revA_defconfig | 7 +--
configs/xilinx_zynqmp_zcu102_revB_defconfig | 7 +--
configs/xilinx_zynqmp_zcu106_revA_defconfig | 7 +--
doc/README.android-fastboot | 240
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
{cmd => drivers}/fastboot/Kconfig | 63
+++++++++++++------------
drivers/fastboot/Makefile | 7 +++
drivers/fastboot/fb_command.c | 335
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/fastboot/fb_common.c | 169
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/fastboot/fb_getvar.c | 230
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
{common => drivers/fastboot}/fb_mmc.c | 216
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------
{common => drivers/fastboot}/fb_nand.c | 69
++++++++++++++++++++--------
drivers/usb/gadget/f_fastboot.c | 347
+++++++++++++++---------------------------------------------------------------------------------------------------------------------------
drivers/usb/gadget/f_thor.c | 65
+++++++++++++-------------
drivers/usb/host/xhci-rcar.c | 5 +-
drivers/usb/host/xhci-rockchip.c | 16 -------
drivers/usb/host/xhci.c | 14 ++++--
fs/fs.c | 13 ++++++
include/fastboot-internal.h | 36 +++++++++++++++
include/fastboot.h | 137
++++++++++++++++++++++++++++++++++++++++++++++++++++++-
include/fb_mmc.h | 35 ++++++++++++--
include/fb_nand.h | 37 +++++++++++++--
include/fs.h | 10 ++++
include/image-sparse.h | 4 +-
include/net.h | 2 +-
include/net/fastboot.h | 21 +++++++++
lib/Kconfig | 11 +++++
lib/Makefile | 1 +
{common => lib}/image-sparse.c | 38 ++++++++--------
net/Makefile | 1 +
net/fastboot.c | 317
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
net/net.c | 7 +++
scripts/config_whitelist.txt | 2 -
108 files changed, 2141 insertions(+), 749 deletions(-)
rename {cmd => drivers}/fastboot/Kconfig (78%)
create mode 100644 drivers/fastboot/Makefile
create mode 100644 drivers/fastboot/fb_command.c
create mode 100644 drivers/fastboot/fb_common.c
create mode 100644 drivers/fastboot/fb_getvar.c
rename {common => drivers/fastboot}/fb_mmc.c (62%)
rename {common => drivers/fastboot}/fb_nand.c (71%)
create mode 100644 include/fastboot-internal.h
create mode 100644 include/net/fastboot.h
rename {common => lib}/image-sparse.c (88%)
create mode 100644 net/fastboot.c