[U-Boot] [U-Boot, 02/15] bootstage: Require timer_get_boot_us() to be defined
Tom Rini
trini at konsulko.com
Tue Jun 6 00:21:25 UTC 2017
On Mon, May 22, 2017 at 05:05:23AM -0600, Simon Glass wrote:
> At present we provide a default version of this function for use by
> bootstage. However it uses the system timer and therefore likely requires
> driver model. This makes it impossible to time driver-model init.
>
> Drop the function and require boards to provide their own. Add a sandbox
> version also. There is a default implememtation in lib/time.c for boards
> which use CONFIG_SYS_TIMER_COUNTER.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170605/7e58fea5/attachment.sig>
More information about the U-Boot
mailing list