mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-05 20:33:21 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Given these exported function an fsp_ prefix since they are declared in an fsp.h header. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
20 lines
535 B
C
20 lines
535 B
C
// SPDX-License-Identifier: Intel
|
|
/*
|
|
* Copyright (C) 2013, Intel Corporation
|
|
* Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <asm/fsp1/fsp_support.h>
|
|
|
|
void fsp_update_configs(struct fsp_config_data *config,
|
|
struct fspinit_rtbuf *rt_buf)
|
|
{
|
|
/* Initialize runtime buffer for fsp_init() */
|
|
rt_buf->common.stack_top = config->common.stack_top - 32;
|
|
rt_buf->common.boot_mode = config->common.boot_mode;
|
|
rt_buf->common.upd_data = &config->fsp_upd;
|
|
|
|
/* Override any UPD setting if required */
|
|
}
|