x86: fsp: Save stack address to CMOS for next S3 boot
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.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
Showing
- arch/x86/cpu/cpu.c 8 additions, 0 deletionsarch/x86/cpu/cpu.c
- arch/x86/include/asm/cmos_layout.h 31 additions, 0 deletionsarch/x86/include/asm/cmos_layout.h
- arch/x86/include/asm/u-boot-x86.h 13 additions, 0 deletionsarch/x86/include/asm/u-boot-x86.h
- arch/x86/lib/fsp/fsp_common.c 37 additions, 1 deletionarch/x86/lib/fsp/fsp_common.c
arch/x86/include/asm/cmos_layout.h
0 → 100644
Please register or sign in to comment