]> git.ipfire.org Git - people/ms/u-boot.git/commit
x86: fsp: Save stack address to CMOS for next S3 boot
authorBin Meng <bmeng.cn@gmail.com>
Fri, 21 Apr 2017 14:24:39 +0000 (07:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 17 May 2017 09:11:46 +0000 (17:11 +0800)
commitba65808e7d0699e053c9892983312a11d4e2a30a
tree128283fa731adc8dcb392eb893826b3275860746
parent9f1fad1e365f413e4f6f5a608a70be0e6ba95dc8
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>
arch/x86/cpu/cpu.c
arch/x86/include/asm/cmos_layout.h [new file with mode: 0644]
arch/x86/include/asm/u-boot-x86.h
arch/x86/lib/fsp/fsp_common.c