]> git.baikalelectronics.ru Git - uboot.git/commit
spl: Split out bootstage ID into a function
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 05:11:15 +0000 (18:11 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 02:04:31 +0000 (15:04 +1300)
commita0b0bc39fd007d4a8cbfc26e507ca2027fe81ba6
tree9828b55307dd8a9c33f306a97d5780cd92ea0099
parent79eb042b505475e2d9b230223b2be071cf29326e
spl: Split out bootstage ID into a function

We have two separate places that need to figure out the bootstage ID to
use. Put this code in a function so that the logic is in one place.

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