History log of /rk3399_rockchip-uboot/common/ (Results 676 – 700 of 5256)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
39d5abb827-Jan-2018 Joseph Chen <chenjh@rock-chips.com>

common: boot_rkimg: clean up boot options

options are: "storagemedia=" and "androidboot.mode=".

Change-Id: I4deba2fce27324bc5020ba79e586383fefe92b83
Signed-off-by: Joseph Chen <chenjh@rock-chips.co

common: boot_rkimg: clean up boot options

options are: "storagemedia=" and "androidboot.mode=".

Change-Id: I4deba2fce27324bc5020ba79e586383fefe92b83
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...

af586a3824-Jan-2018 Kever Yang <kever.yang@rock-chips.com>

rockchip: add support to load and use kernel dtb

We are going to use a tiny dtb(with 'u-boot,dm-pre-reloc') in pre-relocate,
and then read kernel dtb and use it after relocate.
This feature only wor

rockchip: add support to load and use kernel dtb

We are going to use a tiny dtb(with 'u-boot,dm-pre-reloc') in pre-relocate,
and then read kernel dtb and use it after relocate.
This feature only works with CONFIG_OF_LIVE enabled now.

Change-Id: I429ccd90ef562a96f2f7916255e7e427ce8f451d
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

show more ...

ab174b9524-Jan-2018 Kever Yang <kever.yang@rock-chips.com>

bootm: fix to lmb mem reserve

This is a bug fix to:
534066e bootm: resever memory before any lmb_alloc()
the patch make distro boot hand.

Change-Id: I13634154daad211a2f51ee94043f6dfd57710eb3
Signed

bootm: fix to lmb mem reserve

This is a bug fix to:
534066e bootm: resever memory before any lmb_alloc()
the patch make distro boot hand.

Change-Id: I13634154daad211a2f51ee94043f6dfd57710eb3
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

show more ...

1f5bcda223-Jan-2018 Joseph Chen <chenjh@rock-chips.com>

android: replace CONFIG_ROCKCHIP_BOOTLOADER with CONFIG_RKIMG_BOOTLOADER

Change-Id: I24db85313652bd21aada68cd472bdf888b7d022d
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

bb1716ec23-Jan-2018 Kever Yang <kever.yang@rock-chips.com>

rockchip: resource_img: remove compile warning

Change-Id: I1cb85231be68b67e6a339a46be00a6f592986a9b
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

2ab11bbe22-Jan-2018 Jason Zhu <jason.zhu@rock-chips.com>

android: support the new android format mode

In the new android images, the ramdisk.img is packed in the
system.img. So transmit the "skip_initramfs" to cmdline to
ignore the ramdisk.img (if have) l

android: support the new android format mode

In the new android images, the ramdisk.img is packed in the
system.img. So transmit the "skip_initramfs" to cmdline to
ignore the ramdisk.img (if have) loaded from boot.img.

Change-Id: I1b2051d65078c903411f3ddcc0c7803cbd6892f4
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>

show more ...


/rk3399_rockchip-uboot/arch/arm/Kconfig
/rk3399_rockchip-uboot/arch/arm/dts/rk3288-phycore-rdk.dts
/rk3399_rockchip-uboot/arch/arm/dts/rk3288-veyron.dtsi
/rk3399_rockchip-uboot/arch/arm/dts/rk3399-firefly.dts
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-rockchip/bootrom.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-rockchip/sys_proto.h
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/Kconfig
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/Makefile
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/board.c
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3036/Makefile
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3036/rk3036.c
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3036/sdram_rk3036.c
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3066/Makefile
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3066/rk3066.c
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3128/rk3128.c
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3188/Makefile
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3188/rk3188.c
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk322x/rk322x.c
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3288/rk3288.c
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3328/rk3328.c
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3368/rk3368.c
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3399/rk3399.c
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/rv1108/rv1108.c
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/sdram_common.c
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/spl-boot-order.c
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/spl.c
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/tpl.c
/rk3399_rockchip-uboot/board/chipspark/popmetal_rk3288/popmetal-rk3288.c
/rk3399_rockchip-uboot/board/geekbuying/geekbox/geekbox.c
/rk3399_rockchip-uboot/board/mqmaker/miqi_rk3288/miqi-rk3288.c
/rk3399_rockchip-uboot/board/phytec/phycore_rk3288/phycore-rk3288.c
/rk3399_rockchip-uboot/board/rockchip/evb_px5/evb-px5.c
/rk3399_rockchip-uboot/board/rockchip/evb_rk3288/evb-rk3288.c
/rk3399_rockchip-uboot/board/rockchip/evb_rk3288_rk1608/evb-rk3288-rk1608.c
/rk3399_rockchip-uboot/board/rockchip/evb_rk3328/evb-rk3328.c
/rk3399_rockchip-uboot/board/rockchip/evb_rk3399/evb-rk3399.c
/rk3399_rockchip-uboot/board/rockchip/evb_rv1108/evb_rv1108.c
/rk3399_rockchip-uboot/board/rockchip/fennec_rk3288/fennec-rk3288.c
/rk3399_rockchip-uboot/board/rockchip/sheep_rk3368/sheep_rk3368.c
/rk3399_rockchip-uboot/board/rockchip/tinker_rk3288/tinker-rk3288.c
/rk3399_rockchip-uboot/board/theobroma-systems/lion_rk3368/lion_rk3368.c
/rk3399_rockchip-uboot/board/theobroma-systems/puma_rk3399/puma-rk3399.c
android_bootloader.c
/rk3399_rockchip-uboot/configs/lion-rk3368_defconfig
/rk3399_rockchip-uboot/drivers/ram/rockchip/sdram_rk322x.c
/rk3399_rockchip-uboot/include/configs/rk3036_common.h
/rk3399_rockchip-uboot/include/configs/rk3066_common.h
/rk3399_rockchip-uboot/include/configs/rk3128_common.h
/rk3399_rockchip-uboot/include/configs/rk3188_common.h
/rk3399_rockchip-uboot/include/configs/rk322x_common.h
/rk3399_rockchip-uboot/include/configs/rk3288_common.h
/rk3399_rockchip-uboot/include/configs/rk3328_common.h
/rk3399_rockchip-uboot/include/configs/rk3368_common.h
/rk3399_rockchip-uboot/include/configs/rk3399_common.h
/rk3399_rockchip-uboot/include/configs/rockchip-common.h
/rk3399_rockchip-uboot/include/configs/rv1108_common.h
89c73a9c20-Jan-2018 Kever Yang <kever.yang@rock-chips.com>

spl: use different BOARD_INIT MACRO for spl and tpl

SPL and TPL may not always need spl_board_init() at the same time.

Change-Id: I5f26956414f1d2ff3fd2fce11a4d7759de7804fe
Signed-off-by: Kever Yang

spl: use different BOARD_INIT MACRO for spl and tpl

SPL and TPL may not always need spl_board_init() at the same time.

Change-Id: I5f26956414f1d2ff3fd2fce11a4d7759de7804fe
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

show more ...

534066e418-Jan-2018 Joseph Chen <chenjh@rock-chips.com>

bootm: resever memory before any lmb_alloc()

It's better to be done anyway and as early as possible.

Change-Id: I681c93b97a8c3da681886b23ef350ecab8156f8e
Signed-off-by: Joseph Chen <chenjh@rock-chi

bootm: resever memory before any lmb_alloc()

It's better to be done anyway and as early as possible.

Change-Id: I681c93b97a8c3da681886b23ef350ecab8156f8e
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...

df3eab8118-Jan-2018 Joseph Chen <chenjh@rock-chips.com>

image-fdt: support "reserved-memory" for lmb

Change-Id: Id628c47e2521226777d2391db1fee325592cf3f2
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

830c86d905-Jan-2018 Jason Zhu <jason.zhu@rock-chips.com>

image-android: get real fdt addr in android_image_get_fdt

Change-Id: Ie9c632c767962f8580bd9adf7727738f28479e4c
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>

b7570de205-Jan-2018 Jason Zhu <jason.zhu@rock-chips.com>

android: modify the fdt_addr

The env fdt_addr must be set as hex.

Change-Id: I75ffeb832a4b44dcadafdcfecfc6bb282e495b83
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>

5c9c1f9915-Jan-2018 Joseph Chen <chenjh@rock-chips.com>

common: boot_rkimg: fix compile warnings

Change-Id: Id7c49a187e789daa8af78c2f38982568f2f48e44
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

7f732f5f16-Jan-2018 Kever Yang <kever.yang@rock-chips.com>

rockchip: remove no use BITS_PER_LONG

Change-Id: I838bdab8fba05d784dce06cde11e492e225b23d7
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

099855e206-Sep-2017 Kever Yang <kever.yang@rock-chips.com>

spl: add support to booting with OP-TEE

OP-TEE is an open source trusted OS, in armv7, its loading and
running are like this:
loading:
- SPL load both OP-TEE and U-Boot
running:
- SPL run into OP-TE

spl: add support to booting with OP-TEE

OP-TEE is an open source trusted OS, in armv7, its loading and
running are like this:
loading:
- SPL load both OP-TEE and U-Boot
running:
- SPL run into OP-TEE in secure mode;
- OP-TEE run into U-Boot in non-secure mode;

More detail:
https://github.com/OP-TEE/optee_os
and search for 'boot arguments' for detail entry parameter in:
core/arch/arm/kernel/generic_entry_a32.S

Change-Id: I1344a35dd11bd69ca00e9b99909e1eb610648d86
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 32470d8ebee6a9c31a7a6b82704c486ef06cf549)

show more ...

820a0a1218-Dec-2017 Kever Yang <kever.yang@rock-chips.com>

UPSTREAM: image: add os type for OP-TEE

OP-TEE is an open source trust OS maintained here:
https://github.com/OP-TEE/optee_os

Series-changes: 2
- Add new image type like ATF

Change-Id: Idaae12027b

UPSTREAM: image: add os type for OP-TEE

OP-TEE is an open source trust OS maintained here:
https://github.com/OP-TEE/optee_os

Series-changes: 2
- Add new image type like ATF

Change-Id: Idaae12027be1f8a3252d2f9ad2ee689b6dfcb3ad
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 8f7658998ba3ba4338344cee1d235bf090a1dd94)

show more ...

4bba5ee702-Jan-2018 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

spl: atf: add SPL_ATF_NO_PLATFORM_PARAM option

While we expect to call a pointer to a valid FDT (or NULL) as the
platform parameter to an ATF, some ATF versions are not U-Boot aware
and have an insu

spl: atf: add SPL_ATF_NO_PLATFORM_PARAM option

While we expect to call a pointer to a valid FDT (or NULL) as the
platform parameter to an ATF, some ATF versions are not U-Boot aware
and have an insufficiently robust (or an overzealour) parameter
validation: either way, this may cause a hard-stop with uncooperative
ATF versions.

This change adds the option to suppress passing a platform parameter
and will always pass NULL.

Debug output from ATF w/ this option disabled (i.e. default):
INFO: plat_param_from_bl2: 0x291450
Debug output from ATF w/ this option enabled:
INFO: plat_param_from_bl2: 0

Change-Id: Ic13bf77aa509407563d10ad3ce790087f2d1dc07
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit d21fb63d772d32373600abeb7afcb53033e087a7)

show more ...


/rk3399_rockchip-uboot/README
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
/rk3399_rockchip-uboot/arch/arm/lib/bootm-fdt.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/Kconfig
/rk3399_rockchip-uboot/board/theobroma-systems/lion_rk3368/Kconfig
/rk3399_rockchip-uboot/board/theobroma-systems/puma_rk3399/Kconfig
spl/Kconfig
spl/spl_atf.c
/rk3399_rockchip-uboot/configs/TWR-P1025_defconfig
/rk3399_rockchip-uboot/configs/UCP1020_SPIFLASH_defconfig
/rk3399_rockchip-uboot/configs/UCP1020_defconfig
/rk3399_rockchip-uboot/configs/adp-ae3xx_defconfig
/rk3399_rockchip-uboot/configs/qemu-ppce500_defconfig
/rk3399_rockchip-uboot/configs/tricorder_defconfig
/rk3399_rockchip-uboot/configs/tricorder_flash_defconfig
/rk3399_rockchip-uboot/configs/uniphier_ld4_sld8_defconfig
/rk3399_rockchip-uboot/configs/uniphier_pxs2_ld6b_defconfig
/rk3399_rockchip-uboot/configs/uniphier_v8_defconfig
/rk3399_rockchip-uboot/configs/xpedite517x_defconfig
/rk3399_rockchip-uboot/configs/xpedite520x_defconfig
/rk3399_rockchip-uboot/configs/xpedite537x_defconfig
/rk3399_rockchip-uboot/configs/xpedite550x_defconfig
/rk3399_rockchip-uboot/include/configs/B4860QDS.h
/rk3399_rockchip-uboot/include/configs/C29XPCIE.h
/rk3399_rockchip-uboot/include/configs/MPC8536DS.h
/rk3399_rockchip-uboot/include/configs/MPC8544DS.h
/rk3399_rockchip-uboot/include/configs/MPC8572DS.h
/rk3399_rockchip-uboot/include/configs/P1010RDB.h
/rk3399_rockchip-uboot/include/configs/P1023RDB.h
/rk3399_rockchip-uboot/include/configs/P2041RDB.h
/rk3399_rockchip-uboot/include/configs/T102xQDS.h
/rk3399_rockchip-uboot/include/configs/T102xRDB.h
/rk3399_rockchip-uboot/include/configs/T1040QDS.h
/rk3399_rockchip-uboot/include/configs/T104xRDB.h
/rk3399_rockchip-uboot/include/configs/T4240RDB.h
/rk3399_rockchip-uboot/include/configs/UCP1020.h
/rk3399_rockchip-uboot/include/configs/adp-ae3xx.h
/rk3399_rockchip-uboot/include/configs/corenet_ds.h
/rk3399_rockchip-uboot/include/configs/cyrus.h
/rk3399_rockchip-uboot/include/configs/ls1012a_common.h
/rk3399_rockchip-uboot/include/configs/ls2080a_common.h
/rk3399_rockchip-uboot/include/configs/p1_p2_rdb_pc.h
/rk3399_rockchip-uboot/include/configs/p1_twr.h
/rk3399_rockchip-uboot/include/configs/qemu-ppce500.h
/rk3399_rockchip-uboot/include/configs/t4qds.h
/rk3399_rockchip-uboot/include/configs/tricorder.h
/rk3399_rockchip-uboot/include/configs/uniphier.h
/rk3399_rockchip-uboot/include/configs/xpedite517x.h
/rk3399_rockchip-uboot/include/configs/xpedite520x.h
/rk3399_rockchip-uboot/include/configs/xpedite537x.h
/rk3399_rockchip-uboot/include/configs/xpedite550x.h
/rk3399_rockchip-uboot/include/configs/xtfpga.h
/rk3399_rockchip-uboot/include/dm/platdata.h
/rk3399_rockchip-uboot/include/fdt_support.h
/rk3399_rockchip-uboot/include/power/pmic.h
/rk3399_rockchip-uboot/lib/Kconfig
1ae99f2423-Nov-2017 Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>

UPSTREAM: common: Fix-up MAC addr in dts by fetching env variable serially

The MAC addresses get fixed in the device tree for "ethernet" nodes
is by using trailing number behind "ethernet" found in

UPSTREAM: common: Fix-up MAC addr in dts by fetching env variable serially

The MAC addresses get fixed in the device tree for "ethernet" nodes
is by using trailing number behind "ethernet" found in "/aliases".
It may not be necessary for the "ethernet" nodes to be sequential.
There can be gaps in between or any node disabled

So provide a support to fetch MAC addr sequentially from env
and apply them to "ethernet" nodes in the order they appear in
device tree only if "ethernet" is not "disabled"

Change-Id: I1bd6544a2bfe5cd5d6708e249c1e07d44d6944d2
Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 24acb83d8f04e9a49f161c07d38da50c70e9f16d)

show more ...

a239d69a04-Dec-2017 Simon Glass <sjg@chromium.org>

UPSTREAM: log: Plumb logging into the init sequence

Set up logging both before and after relocation.

Change-Id: I225a1077880b14a6f3eabc19b2a5b9fe4c6a530d
Signed-off-by: Simon Glass <sjg@chromium.or

UPSTREAM: log: Plumb logging into the init sequence

Set up logging both before and after relocation.

Change-Id: I225a1077880b14a6f3eabc19b2a5b9fe4c6a530d
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit af1bc0cf46c49c5ddb13b8c75bad31a05a137eba)

show more ...

b974325d06-Sep-2017 Simon Glass <sjg@chromium.org>

UPSTREAM: board_f: Drop the timer after relocation

Once U-Boot relocates itself the existing driver-model timer (if any) is
no-longer valid until the device is reinitialised. Any use of the device
m

UPSTREAM: board_f: Drop the timer after relocation

Once U-Boot relocates itself the existing driver-model timer (if any) is
no-longer valid until the device is reinitialised. Any use of the device
may cause a crash. To handle this, set the timer to NULL after relocation.

Change-Id: I041cc547659b540735dcaf52444d97834ea10059
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 5ee94b4f4032502c26cd3c9ede6a910d7e2c9b46)

show more ...

73991b0704-Dec-2017 Simon Glass <sjg@chromium.org>

log: Add a test command

Add a command which exercises the logging system.

Change-Id: I4eb139b69937c752d7f6fc42dde3f757260b832b
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yan

log: Add a test command

Add a command which exercises the logging system.

Change-Id: I4eb139b69937c752d7f6fc42dde3f757260b832b
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit ef11ed8239bf02b347e7fb9fc6d980aec0c7810a)

show more ...

5cafef2d04-Dec-2017 Simon Glass <sjg@chromium.org>

UPSTREAM: log: Add a console driver

It is useful to display log messages on the console. Add a simple driver
to handle this.

Note that this driver outputs to the console, which may be serial or
vid

UPSTREAM: log: Add a console driver

It is useful to display log messages on the console. Add a simple driver
to handle this.

Note that this driver outputs to the console, which may be serial or
video. It does not specifically select serial output.

Change-Id: I3626673a306557400584e673f9725e74ecbaaf98
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit c6d47535dfb6636ae5244958a2a9e043bb7646ae)

show more ...

9530301c04-Dec-2017 Simon Glass <sjg@chromium.org>

log: Add an implementation of logging

Add the logging header file and implementation with some configuration
options to control it.

Change-Id: Ic711fa39ba3183b288170ebdd4bfdf0a9e472bad
Signed-off-b

log: Add an implementation of logging

Add the logging header file and implementation with some configuration
options to control it.

Change-Id: Ic711fa39ba3183b288170ebdd4bfdf0a9e472bad
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit e9c8d49d54cbbc7b219a1637d2994de7448b767d)

show more ...

785b4fbf04-Dec-2017 Simon Glass <sjg@chromium.org>

Drop the log buffer

This does not appear to be used by any boards. Before introducing a new
log system, remove this old one.

Change-Id: I798cd4aff50b7136ae9f84362185f9f73b04f710
Signed-off-by: Simo

Drop the log buffer

This does not appear to be used by any boards. Before introducing a new
log system, remove this old one.

Change-Id: I798cd4aff50b7136ae9f84362185f9f73b04f710
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit c5404b64fb5a35d41f7eff6d12b8ffdb0c851040)

show more ...

143f37be04-Dec-2017 Simon Glass <sjg@chromium.org>

UPSTREAM: usb: Correct use of debug()

With clang this gives a warning because hubsts appears to be used before
it is set, even if ultimately it is not used. Simplify the code to avoid
this problem.

UPSTREAM: usb: Correct use of debug()

With clang this gives a warning because hubsts appears to be used before
it is set, even if ultimately it is not used. Simplify the code to avoid
this problem.

Change-Id: If765f7b0c909de125e163875856e43ddf9b6c5d5
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 0ad0458c76107b29325b8c38804e0407bed42a79)

show more ...


/rk3399_rockchip-uboot/MAINTAINERS
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/cache_v8.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/exceptions.S
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/zynqmp/Kconfig
/rk3399_rockchip-uboot/arch/arm/dts/rk3399-puma.dtsi
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-rockchip/cru_rk3128.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/dram_sunxi_dw.h
/rk3399_rockchip-uboot/arch/arm/include/asm/armv8/mmu.h
/rk3399_rockchip-uboot/arch/arm/lib/interrupts_64.c
/rk3399_rockchip-uboot/arch/arm/mach-kirkwood/include/mach/gpio.h
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/Makefile
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/boot_mode.c
/rk3399_rockchip-uboot/board/theobroma-systems/puma_rk3399/puma-rk3399.c
/rk3399_rockchip-uboot/cmd/blk_common.c
/rk3399_rockchip-uboot/cmd/i2c.c
usb_hub.c
/rk3399_rockchip-uboot/configs/puma-rk3399_defconfig
/rk3399_rockchip-uboot/disk/Kconfig
/rk3399_rockchip-uboot/doc/device-tree-bindings/config.txt
/rk3399_rockchip-uboot/doc/git-mailrc
/rk3399_rockchip-uboot/drivers/gpio/kw_gpio.c
/rk3399_rockchip-uboot/drivers/mtd/nand/nand_base.c
/rk3399_rockchip-uboot/drivers/usb/gadget/storage_common.c
/rk3399_rockchip-uboot/env/mmc.c
/rk3399_rockchip-uboot/fs/fs_internal.c
/rk3399_rockchip-uboot/include/linux/bitops.h
/rk3399_rockchip-uboot/include/part_efi.h
/rk3399_rockchip-uboot/include/usb/lin_gadget_compat.h
/rk3399_rockchip-uboot/lib/fdtdec.c
/rk3399_rockchip-uboot/lib/libfdt/Makefile
/rk3399_rockchip-uboot/lib/libfdt/fdt_region.c
/rk3399_rockchip-uboot/lib/libfdt/fdt_wip.c
/rk3399_rockchip-uboot/scripts/Makefile.spl
/rk3399_rockchip-uboot/scripts/Makefile.uncmd_spl
/rk3399_rockchip-uboot/tools/Makefile
/rk3399_rockchip-uboot/tools/libfdt/fdt_wip.c
/rk3399_rockchip-uboot/tools/zynqmpimage.c
3f6e9bd922-Nov-2017 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

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 (

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)

show more ...

1...<<21222324252627282930>>...211