1 // SPDX-License-Identifier: Intel
2 /*
3  * Copyright (C) 2013, Intel Corporation
4  * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
5  */
6 
7 #include <common.h>
8 #include <asm/fsp/fsp_support.h>
9 
10 void update_fsp_configs(struct fsp_config_data *config,
11 			struct fspinit_rtbuf *rt_buf)
12 {
13 	/* Initialize runtime buffer for fsp_init() */
14 	rt_buf->common.stack_top = config->common.stack_top - 32;
15 	rt_buf->common.boot_mode = config->common.boot_mode;
16 	rt_buf->common.upd_data = &config->fsp_upd;
17 
18 	/* Override any UPD setting if required */
19 }
20