]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstage: Allow calling bootstage_mark() before bootstage_init()
authorSimon Glass <sjg@chromium.org>
Mon, 8 Apr 2019 19:20:45 +0000 (13:20 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Apr 2019 02:26:43 +0000 (20:26 -0600)
commit173577252f2bebaf17851ce8128ba522f27fb6dd
treec9b27031067f07832d46f1a8e7242acb583b0c73
parenta1396cdc4b557ac678b7af93938e58814612759a
bootstage: Allow calling bootstage_mark() before bootstage_init()

It is possible for this to happen if something goes wrong very early in
the init sequence. Add a check for this.

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