rv1126-uboot/common
Philipp Tomsich 3f6e9bd9ff UPSTREAM: usb: hub: identify the hub-device to usb_hub_reset_devices
When usb_hub_reset_devices is called, it should be passed both an
indicator which hub it should operate on and what port number (local
to that hub) should be reset.

Previously, the usb_hub.c code did not include such context and
always started resets from port number 1, performing multiple
reset-requests for the same devices:

       /*
        * Reset any devices that may be in a bad state when applying
        * the power.  This is a __weak function.  Resetting of the devices
        * should occur in the board file of the device.
        */
       for (i = 0; i < dev->maxchild; i++)
              usb_hub_reset_devices(i + 1);

This adds an additional 'hub' parameter to usb_hub_reset_devices
that provides the context to fully qualify the port-number in.

Existing implementations are changed to accept and ignore the new
parameter.

Change-Id: I2f201cb9c52522f6e553cbf54aae9bbb2e549a21
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 883946e8e7c5dacb5e12f18703e20d49a4886f0e)
2018-01-17 15:27:28 +08:00
..
eeprom
init
spl UPSTREAM: spl: fit: add SPL_FIT_IMAGE_TINY config to reduce code-size 2018-01-17 15:27:28 +08:00
Kconfig UPSTREAM: dts: renamed FIT_EMBED to MULTI_DTB_FIT and moved it to the dts Kconfig 2018-01-17 15:27:28 +08:00
Makefile UPSTREAM: dts: renamed FIT_EMBED to MULTI_DTB_FIT and moved it to the dts Kconfig 2018-01-17 15:27:28 +08:00
android_ab.c android: Implement A/B slot select. 2017-11-14 10:55:46 +08:00
android_bootloader.c cmd: boot_android: support legacy aosp image from rockchip 2017-12-08 18:13:25 +08:00
autoboot.c env: Rename getenv_hex(), getenv_yesno(), getenv_ulong() 2017-08-16 08:30:32 -04:00
bedbug.c
board_f.c common/board_f.c: remove CONFIG_SYS_GENERIC_GLOBAL_DATA 2017-08-20 09:54:32 -04:00
board_info.c
board_r.c UPSTREAM: Drop CONFIG_HAS_DATAFLASH 2018-01-17 15:27:28 +08:00
boot_fit.c UPSTREAM: fit: fixed bug in locate_dtb_in_fit() 2018-01-17 15:27:28 +08:00
boot_rkimg.c rockchip: rkimg: update some error handling 2018-01-12 15:35:05 +08:00
bootm.c UPSTREAM: common: Remove genimg_get_image() 2018-01-17 15:27:28 +08:00
bootm_os.c bootvx_fdt: fix missing 'fdt_fixup_ethernet(...)' on vxWorks boot 2017-08-28 07:19:13 -04:00
bootretry.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
bootstage.c
bouncebuf.c
cli.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
cli_hush.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
cli_readline.c
cli_simple.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
command.c
common_fit.c UPSTREAM: fit: If no matching config is found in fit_find_config_node(), use the default one 2018-01-17 15:27:28 +08:00
console.c common: console: Fix duplicated CONFIG in silent env callback 2017-08-28 07:19:12 -04:00
cros_ec.c
ddr_spd.c
dfu.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
dlmalloc.c UPSTREAM: malloc: don't compare pointers to 0 2018-01-17 15:27:28 +08:00
dlmalloc.src
edid.c common: edid: Fix some warning 2017-11-20 19:17:14 +08:00
exports.c
fb_common.c Handle slow MMC writes 2017-11-14 10:55:45 +08:00
fb_mmc.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
fb_nand.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
fdt_support.c UPSTREAM: spl: fit: implement fdt_record_loadable 2018-01-17 15:27:28 +08:00
flash.c
hash.c hash: Compile only hardware or software versions of SHA algorithms 2017-08-20 09:53:13 -04:00
hwconfig.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
image-android.c image-android: add a api to get fdt from boot img 2017-12-08 18:13:25 +08:00
image-fdt.c UPSTREAM: common: Remove genimg_get_image() 2018-01-17 15:27:28 +08:00
image-fit.c UPSTREAM: fit: Introduce methods for applying overlays on fit-load 2018-01-16 18:16:48 +08:00
image-sig.c UPSTREAM: image-sig: use designated initializers for algorithm 2018-01-17 15:27:28 +08:00
image-sparse.c Implement fastboot flash and erase. 2017-11-14 10:55:45 +08:00
image.c UPSTREAM: image: add IH_OS_ARM_TRUSTED_FIRMWARE for ARM Trusted Firmware 2018-01-17 15:27:28 +08:00
iomux.c
iotrace.c
kallsyms.c
kgdb.c
kgdb_stubs.c
lcd.c lcd: avoid possible NULL dereference 2017-08-19 20:42:20 +02:00
lcd_console.c
lcd_console_rotation.c
lcd_simplefb.c
lynxkdi.c
main.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
malloc_simple.c
memsize.c
menu.c
miiphyutil.c
s_record.c
splash.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
splash_source.c splash_source: Verify FIT magic 2017-09-04 23:53:47 +02:00
stdio.c
system_map.c
update.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
usb.c UPSTREAM: usb: Read device descriptor after device is addressed for xHCI 2018-01-17 15:27:28 +08:00
usb_hub.c UPSTREAM: usb: hub: identify the hub-device to usb_hub_reset_devices 2018-01-17 15:27:28 +08:00
usb_kbd.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
usb_storage.c UPSTREAM: usb: storage: Fix overwritten in usb_stor_set_max_xfer_blk() 2018-01-17 15:27:28 +08:00
xyzModem.c