diff options
| author | Simon Glass <sjg@chromium.org> | 2017-05-22 05:05:23 -0600 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2017-06-05 14:13:04 -0400 |
| commit | c87dc38d8f860710f5f624d9dae6cefded285b8d (patch) | |
| tree | e109a9299c541839a03867320941ae098f9c7975 /include/linux/stringify.h | |
| parent | 9fb34b01f7757ed772b77dd90e463c6e7499fef8 (diff) | |
| download | u-boot-c87dc38d8f860710f5f624d9dae6cefded285b8d.tar.gz u-boot-c87dc38d8f860710f5f624d9dae6cefded285b8d.tar.xz u-boot-c87dc38d8f860710f5f624d9dae6cefded285b8d.zip | |
bootstage: Require timer_get_boot_us() to be defined
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@chromium.org>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
