blob: 3b5cbdb44f1a3469cf3c87358dd7185d95c53542 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: Intel
Bin Meng2922b3e2014-12-12 21:05:28 +08002/*
3 * Copyright (C) 2013, Intel Corporation
4 * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
Bin Meng2922b3e2014-12-12 21:05:28 +08005 */
6
Simon Glass6c34fc12019-09-25 08:00:11 -06007#include <asm/fsp1/fsp_support.h>
Bin Meng2922b3e2014-12-12 21:05:28 +08008
Simon Glass13724142019-09-25 08:11:25 -06009void fsp_update_configs(struct fsp_config_data *config,
Bin Meng4a076fe2015-12-10 22:03:04 -080010 struct fspinit_rtbuf *rt_buf)
Bin Meng2922b3e2014-12-12 21:05:28 +080011{
Bin Meng4a076fe2015-12-10 22:03:04 -080012 /* Initialize runtime buffer for fsp_init() */
13 rt_buf->common.stack_top = config->common.stack_top - 32;
14 rt_buf->common.boot_mode = config->common.boot_mode;
15 rt_buf->common.upd_data = &config->fsp_upd;
16
Bin Meng2922b3e2014-12-12 21:05:28 +080017 /* Override any UPD setting if required */
Bin Meng2922b3e2014-12-12 21:05:28 +080018}