blob: ba3e2894ff0b4387697c659f4cdbba661f91d6ea [file] [log] [blame]
Angel Pons8a3453f2020-04-02 23:48:19 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Brandon Breitensteinc31ba0e2016-07-27 17:34:45 -07002
3#ifndef _FSP2_0_SOC_BINDING_H_
4#define _FSP2_0_SOC_BINDING_H_
5
Furquan Shaikh861a4b82016-12-07 20:34:32 -08006#include <stddef.h>
7
Brandon Breitensteinc31ba0e2016-07-27 17:34:45 -07008#pragma pack(push)
Johanna Schanderf538d742019-12-08 11:04:09 +01009
10/**
11 * These includes are required to include headers that are missing in
12 * the FSP headers. Import order matter for the correct PiHob definition
13 * to be found.
14 */
15#if CONFIG_UDK_VERSION >= CONFIG_UDK_2017_VERSION
16#include <PiPei.h>
17#include <Ppi/MpServices.h>
18#include <Uefi/UefiMultiPhase.h>
19#include <Pi/PiBootMode.h>
20#include <Pi/PiHob.h>
21#endif
22
Brandon Breitensteinc31ba0e2016-07-27 17:34:45 -070023/*
24 * This file is a implementation specific header. i.e. different
25 * FSP implementations for different chipsets.
26 */
27#include <Base.h>
Brandon Breitensteineb2e6882016-08-31 13:46:58 -070028#include <FspmUpd.h>
29#include <FspsUpd.h>
Subrata Banik79274e012023-06-19 11:32:19 +000030#if CONFIG(MRC_CACHE_USING_MRC_VERSION)
Subrata Banik79274e012023-06-19 11:32:19 +000031#include <FspProducerDataHeader.h>
32#endif
Julius Wernercd49cce2019-03-05 16:53:33 -080033#if CONFIG(DISPLAY_FSP_VERSION_INFO)
Subrata Banik73b67dc2018-01-23 16:31:03 +053034#include <FirmwareVersionInfoHob.h>
Ronak Kanabarc7762462020-10-01 19:22:51 +053035#elif CONFIG(DISPLAY_FSP_VERSION_INFO_2)
36#include <FirmwareVersionInfo.h>
Subrata Banik73b67dc2018-01-23 16:31:03 +053037#endif
Brandon Breitensteinc31ba0e2016-07-27 17:34:45 -070038
Ray Han Lim, Ng65b72192022-01-21 14:33:11 +080039#if CONFIG(ENABLE_FSP_ERROR_INFO)
40#include <FspErrorInfoHob.h>
41#endif
42
Brandon Breitensteinc31ba0e2016-07-27 17:34:45 -070043#pragma pack(pop)
44
45#endif