]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/cpu/queensbay/fsp_configs.c
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / arch / x86 / cpu / queensbay / fsp_configs.c
index af28e457f6e201efe01e3956ab6fae899a438bca..c4d117783cbf3ada7f8743d503937dc838662ec9 100644 (file)
@@ -1,20 +1,19 @@
+// SPDX-License-Identifier: Intel
 /*
  * Copyright (C) 2013, Intel Corporation
  * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
- *
- * SPDX-License-Identifier:    Intel
  */
 
 #include <common.h>
-#include <asm/arch/fsp/fsp_support.h>
+#include <asm/fsp/fsp_support.h>
 
-void update_fsp_upd(struct upd_region *fsp_upd)
+void update_fsp_configs(struct fsp_config_data *config,
+                       struct fspinit_rtbuf *rt_buf)
 {
-       /* Override any UPD setting if required */
-
-       /* Uncomment the line below to enable DEBUG message */
-       /* fsp_upd->serial_dbgport_type = 1; */
+       /* 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;
 
-       /* Examples on how to initialize the pointers in UPD region */
-       /* fsp_upd->pcd_example = (EXAMPLE_DATA *)&example; */
+       /* Override any UPD setting if required */
 }