]> git.baikalelectronics.ru Git - uboot.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)
commiteee11855fee441b3d527036f3bce47abc06b7d46
treec9b27031067f07832d46f1a8e7242acb583b0c73
parent301d6bd64bfec7fa6a30fb45470331cf1e6cba17
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