summaryrefslogtreecommitdiff
path: root/arch/x86/lib/fsp
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-12-10 22:02:58 -0800
committerBin Meng <bmeng.cn@gmail.com>2016-01-13 12:20:14 +0800
commit57ac74ff0476bd087223b14cfdc4b972db433cd9 (patch)
tree5d972d9f6b87ce244a0311d40aa1aed7b08539d1 /arch/x86/lib/fsp
parentf0285fbe4e868311f925aeae480796d4626e1728 (diff)
downloadu-boot-imx-57ac74ff0476bd087223b14cfdc4b972db433cd9.zip
u-boot-imx-57ac74ff0476bd087223b14cfdc4b972db433cd9.tar.gz
u-boot-imx-57ac74ff0476bd087223b14cfdc4b972db433cd9.tar.bz2
x86: fsp: Add boot_mode as a member of struct shared_data
Save boot_mode in struct shared_data for future refactoring. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/lib/fsp')
-rw-r--r--arch/x86/lib/fsp/fsp_support.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/lib/fsp/fsp_support.c b/arch/x86/lib/fsp/fsp_support.c
index df62ba8..083d855 100644
--- a/arch/x86/lib/fsp/fsp_support.c
+++ b/arch/x86/lib/fsp/fsp_support.c
@@ -153,6 +153,7 @@ void fsp_init(u32 stack_top, u32 boot_mode, void *nvs_buf)
shared_data.fsp_hdr = fsp_hdr;
shared_data.stack_top = stack_top;
+ shared_data.boot_mode = boot_mode;
post_code(POST_PRE_MRC);