]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Add support for starting from SPL/TPL
authorSimon Glass <sjg@chromium.org>
Fri, 26 Apr 2019 03:58:52 +0000 (21:58 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 8 May 2019 05:02:13 +0000 (13:02 +0800)
commit7f066d8e3e279c601ac9f146cd0d88a363a7272a
tree06a8696d480ed074a7a46718c7a65b73f1206d82
parent33e05a52dbf261a72a34fd3f73245ac6fa5327df
x86: Add support for starting from SPL/TPL

When a previous phase of U-Boot has run we need to adjust the init of
subsequent states to avoid messing up the CPU state.

Add a new version of the start logic for SPL, when it boots from TPL
(start_from tpl.c) and a new version for U-Boot when it boots from SPL.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/Makefile
arch/x86/cpu/Makefile
arch/x86/cpu/start_from_spl.S [new file with mode: 0644]
arch/x86/cpu/start_from_tpl.S [new file with mode: 0644]