[U-Boot] [PATCH 1/2] ARM: tegra: shut down USB device controller at boot

Simon Glass sjg at chromium.org
Tue Jan 26 20:59:49 CET 2016


On 26 January 2016 at 10:59, Stephen Warren <swarren at wwwdotorg.org> wrote:
>
> From: Stephen Warren <swarren at nvidia.com>
>
> When loading U-Boot into RAM over USB protocols using tools such as
> tegrarcm or L4T's exec-uboot.sh/tegraflash.py, Tegra's USB device
> mode controller is initialized and enumerated by the host PC running
> the tool. Unfortunately, these tools do not shut down the USB
> controller before executing the downloaded code, and so the host PC
> does not "de-enumerate" the USB device. This patch implements optional
> code to shut down the USB controller when U-Boot boots to avoid leaving
> a stale USB device present.
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
> This patch needs to be applied along with the next patch in this series,
> likely in u-boot-dm since that patch modifies test code that's only
> currently present in u-boot-dm.
> ---
>  arch/arm/mach-tegra/Kconfig  | 13 +++++++++++++
>  arch/arm/mach-tegra/board2.c | 10 +++++++++-
>  2 files changed, 22 insertions(+), 1 deletion(-)


Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list