fsp_configs.c 534 B

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