spl: stash bootstage info before jump to next stage
authorKever Yang <kever.yang@rock-chips.com>
Wed, 13 Sep 2017 10:24:24 +0000 (18:24 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 22 Sep 2017 11:40:00 +0000 (07:40 -0400)
commita8c5112a269b943253ee57863057fd4a3abe180f
tree2962ae16ea92bbb43d4fa41f1b09ab95306c2e39
parent4e6eeeac1294b489e122a09596087ed06737d055
spl: stash bootstage info before jump to next stage

Since we may jump to next stage like ATF/OP-TEE instead of U-Boot,
we need to stash the bootstage info before it.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/spl/spl.c