Searched hist:c87dc38d8f860710f5f624d9dae6cefded285b8d (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/common/ |
H A D | bootstage.c | diff c87dc38d8f860710f5f624d9dae6cefded285b8d Mon May 22 06:05:23 CDT 2017 Simon Glass <sjg@chromium.org> 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>
|
/openbmc/u-boot/include/ |
H A D | bootstage.h | diff c87dc38d8f860710f5f624d9dae6cefded285b8d Mon May 22 06:05:23 CDT 2017 Simon Glass <sjg@chromium.org> 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>
|
/openbmc/u-boot/arch/sandbox/cpu/ |
H A D | cpu.c | diff c87dc38d8f860710f5f624d9dae6cefded285b8d Mon May 22 06:05:23 CDT 2017 Simon Glass <sjg@chromium.org> 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>
|