x86: Add a way to jump from TPL to SPL
authorSimon Glass <sjg@chromium.org>
Thu, 2 May 2019 16:52:27 +0000 (10:52 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 8 May 2019 05:02:18 +0000 (13:02 +0800)
commit49dffb7a074e9b9d2c27a303798c0e6bc5eea3ba
treed1994197f366cc51e603b967f9c96435eb2af9d7
parent094ba7bb5be2a015e6227386e4380548515c3868
x86: Add a way to jump from TPL to SPL

When TPL finishes it needs to jump to SPL with the stack set up correctly.
Add a function to handle this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/start.S