
Dear Simon Glass,
In message 1326590698-7767-12-git-send-email-sjg@chromium.org you wrote:
Define timer_get_boot_us() which returns the number of microseconds since boot. If undefined then we use get_timer() * 1000.
We can fit this in a 32-bit register which keeps everyone happy on the efficiency side. It will wrap around after about an hour. If we are still looking at it after an hour then we had better not be timing the boot.
There is some scope to join bootstage and post, but for now they are separate things with separate CONFIGs, and you don't have to enable one to get the other.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v3:
- Rename timer patch to remove bootstage: tag
include/common.h | 7 +++++++ lib/time.c | 17 +++++++++++++++++ 2 files changed, 24 insertions(+), 0 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk