From: Tom Rini Date: Mon, 5 Jun 2017 20:21:25 -0400 Subject: [U-Boot] [U-Boot, 02/15] bootstage: Require timer_get_boot_us() to be defined In-Reply-To: <20170522110536.6231-3-sjg@chromium.org> References: <20170522110536.6231-3-sjg@chromium.org> Message-ID: <20170606002125.GR10782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: