]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
tegra: bootcmd: start USB only when needed
authorStephen Warren <swarren@nvidia.com>
Mon, 4 Jun 2012 10:59:23 +0000 (10:59 +0000)
committerAlbert ARIBAUD (U-Boot) <uboot@lilith.(none)>
Mon, 9 Jul 2012 20:44:33 +0000 (22:44 +0200)
commitf78d348cb8a4f5f69a80f914e84eabd8663783a3
treed7c0779df1a5e5dad957816f7be9be96a5eebb9c
parent03cddf28ebbaf402cdac495b71d7fb1bc5fa252f
tegra: bootcmd: start USB only when needed

Instead of initializing USB as soon as bootcmd is executed, defer it
until the first boot device that (potentially in the case of network)
uses USB is scanned. This avoids initializing USB when booting from MMC,
so speeds that up.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/configs/tegra2-common-post.h