On Fri, Apr 21, 2017 at 10:24 PM, Bin Meng <bmeng...@gmail.com> wrote: > At the end of pre-relocation phase, save the new stack address > to CMOS and use it as the stack on next S3 boot for fsp_init() > continuation function. > > Signed-off-by: Bin Meng <bmeng...@gmail.com> > Reviewed-by: Simon Glass <s...@chromium.org> > > --- > > Changes in v2: > - add a function comment block for fsp_save_s3_stack() > - check error on calling rtc_write32() > - add some comments about why calling cmos_read32() instead of rtc_ > > arch/x86/cpu/cpu.c | 8 ++++++++ > arch/x86/include/asm/cmos_layout.h | 31 +++++++++++++++++++++++++++++++ > arch/x86/include/asm/u-boot-x86.h | 13 +++++++++++++ > arch/x86/lib/fsp/fsp_common.c | 38 > +++++++++++++++++++++++++++++++++++++- > 4 files changed, 89 insertions(+), 1 deletion(-) > create mode 100644 arch/x86/include/asm/cmos_layout.h >
applied to u-boot-x86/next, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot