On Mon, May 22, 2017 at 05:05:27AM -0600, Simon Glass wrote:

> At present bootstage has a large array with all possible bootstage IDs
> recorded. It adds times to the array element indexed by the ID. This is
> inefficient because many IDs are not used during boot. We can save space
> by only recording those IDs which actually have timestamps.
> 
> Update the array to use a record count, which increments with each
> addition of a new timestamp. This takes longer to record a time, since it
> may involve an array search. Such a search may be particularly expensive
> before relocation when the CPU is running slowly or the cache is off. But
> at that stage there should be very few records.
> 
> Signed-off-by: Simon Glass <s...@chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to