]> git.sur5r.net Git - u-boot/commit
fdt: allow bootdelay to be specified via device tree
authorStephen Warren <swarren@nvidia.com>
Tue, 14 May 2013 08:02:56 +0000 (08:02 +0000)
committerTom Rini <trini@ti.com>
Tue, 4 Jun 2013 20:06:32 +0000 (16:06 -0400)
commit99bd544ee76af3302b8421eaaddfe61f56915fc6
treeb51cfc8a6fb220492c499b9f9bacf93064367548
parentdf637fa6da6e0f6b1d14d84f1afdd729bc2e2d1a
fdt: allow bootdelay to be specified via device tree

This can be useful to force bootcmd to execute as soon as U-Boot has
started.

My use-case is: An SoC-specific tool pushes U-Boot into RAM, along with
an image to be written to device boot flash, with the DT config property
"bootcmd" set to contain a command to write that image to flash. In this
scenario, we don't want to allow any stale bootdelay value taken from
the current flash content to affect how long it takes before the
flashing process starts.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
common/main.c