On Fri, Apr 26, 2019 at 12:00 PM Simon Glass <s...@chromium.org> wrote: > > 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 <s...@chromium.org> > --- > > Changes in v2: > - Add xorl to TPL code also > - Update comments in start_from_tpl to correctly explain SPL state > > arch/x86/Makefile | 12 ++++++ > arch/x86/cpu/Makefile | 15 +++++++- > arch/x86/cpu/start_from_spl.S | 71 +++++++++++++++++++++++++++++++++++ > arch/x86/cpu/start_from_tpl.S | 49 ++++++++++++++++++++++++ > 4 files changed, 146 insertions(+), 1 deletion(-) > create mode 100644 arch/x86/cpu/start_from_spl.S > create mode 100644 arch/x86/cpu/start_from_tpl.S >
Reviewed-by: Bin Meng <bmeng...@gmail.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot