]> git.baikalelectronics.ru Git - uboot.git/commit
bootstage: Fix counting of entries in stash
authorSimon Glass <sjg@chromium.org>
Mon, 21 Oct 2019 23:26:48 +0000 (17:26 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 27 Oct 2019 16:56:51 +0000 (10:56 -0600)
commitfa88707fa671558ff025537b877baa35a7ea7c08
treebcb33718ed713fe99ff682cf9aeef830c8706523
parent64254a9a0aa541a0513436d81f93b598e93a4b64
bootstage: Fix counting of entries in stash

The current code searches for empty records but these not existing with
bootstage now. This used to be needed when bootstage records were stored
in a spare array.

Drop the unnecessary code and fix a code-style nit at the same time.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/bootstage.c