summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/fsp/fsp_api.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-12-10 22:02:59 -0800
committerBin Meng <bmeng.cn@gmail.com>2016-01-13 12:20:14 +0800
commitcb379a34c46230c9b56a1aa1750445a867c48bd4 (patch)
treea2d2e167913c9613259311438b3869c722a87eba /arch/x86/include/asm/fsp/fsp_api.h
parent57ac74ff0476bd087223b14cfdc4b972db433cd9 (diff)
downloadblackbird-obmc-uboot-cb379a34c46230c9b56a1aa1750445a867c48bd4.tar.gz
blackbird-obmc-uboot-cb379a34c46230c9b56a1aa1750445a867c48bd4.zip
x86: fsp: Rename shared_data to fsp_config_data
FSP has several config data like UPD, HDA verb table which can be overridden or provided by bootloader. Currently in U-Boot only UPD is handled via struct shared_data. To accommodate any platform, we rename shared_data to fsp_config_data and move the definition from common place fsp_support.h to platform-specific place fsp_configs.h. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/fsp/fsp_api.h')
-rw-r--r--arch/x86/include/asm/fsp/fsp_api.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/include/asm/fsp/fsp_api.h b/arch/x86/include/asm/fsp/fsp_api.h
index db83e35e1d..afafb30c14 100644
--- a/arch/x86/include/asm/fsp/fsp_api.h
+++ b/arch/x86/include/asm/fsp/fsp_api.h
@@ -11,6 +11,16 @@
#include <linux/linkage.h>
/*
+ * FSP common configuration structure.
+ * This needs to be included in the platform-specific struct fsp_config_data.
+ */
+struct fsp_cfg_common {
+ struct fsp_header *fsp_hdr;
+ u32 stack_top;
+ u32 boot_mode;
+};
+
+/*
* FspInit continuation function prototype.
* Control will be returned to this callback function after FspInit API call.
*/
OpenPOWER on IntegriCloud