On Wed, May 1, 2019 at 9:03 PM Bin Meng <[email protected]> wrote: > > On Fri, Apr 26, 2019 at 12:00 PM Simon Glass <[email protected]> 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 <[email protected]> > > --- > > > > 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 <[email protected]>
applied to u-boot-x86, thanks! _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

