Angel Pons | 8a3453f | 2020-04-02 23:48:19 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Brandon Breitenstein | c31ba0e | 2016-07-27 17:34:45 -0700 | [diff] [blame] | 2 | |
| 3 | #ifndef _FSP2_0_SOC_BINDING_H_ |
| 4 | #define _FSP2_0_SOC_BINDING_H_ |
| 5 | |
Furquan Shaikh | 861a4b8 | 2016-12-07 20:34:32 -0800 | [diff] [blame] | 6 | #include <stddef.h> |
| 7 | |
Brandon Breitenstein | c31ba0e | 2016-07-27 17:34:45 -0700 | [diff] [blame] | 8 | #pragma pack(push) |
Johanna Schander | f538d74 | 2019-12-08 11:04:09 +0100 | [diff] [blame] | 9 | |
| 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 Breitenstein | c31ba0e | 2016-07-27 17:34:45 -0700 | [diff] [blame] | 23 | /* |
| 24 | * This file is a implementation specific header. i.e. different |
| 25 | * FSP implementations for different chipsets. |
| 26 | */ |
| 27 | #include <Base.h> |
Brandon Breitenstein | eb2e688 | 2016-08-31 13:46:58 -0700 | [diff] [blame] | 28 | #include <FspmUpd.h> |
| 29 | #include <FspsUpd.h> |
Subrata Banik | 79274e01 | 2023-06-19 11:32:19 +0000 | [diff] [blame] | 30 | #if CONFIG(MRC_CACHE_USING_MRC_VERSION) |
Subrata Banik | 79274e01 | 2023-06-19 11:32:19 +0000 | [diff] [blame] | 31 | #include <FspProducerDataHeader.h> |
| 32 | #endif |
Julius Werner | cd49cce | 2019-03-05 16:53:33 -0800 | [diff] [blame] | 33 | #if CONFIG(DISPLAY_FSP_VERSION_INFO) |
Subrata Banik | 73b67dc | 2018-01-23 16:31:03 +0530 | [diff] [blame] | 34 | #include <FirmwareVersionInfoHob.h> |
Ronak Kanabar | c776246 | 2020-10-01 19:22:51 +0530 | [diff] [blame] | 35 | #elif CONFIG(DISPLAY_FSP_VERSION_INFO_2) |
| 36 | #include <FirmwareVersionInfo.h> |
Subrata Banik | 73b67dc | 2018-01-23 16:31:03 +0530 | [diff] [blame] | 37 | #endif |
Brandon Breitenstein | c31ba0e | 2016-07-27 17:34:45 -0700 | [diff] [blame] | 38 | |
Ray Han Lim, Ng | 65b7219 | 2022-01-21 14:33:11 +0800 | [diff] [blame] | 39 | #if CONFIG(ENABLE_FSP_ERROR_INFO) |
| 40 | #include <FspErrorInfoHob.h> |
| 41 | #endif |
| 42 | |
Brandon Breitenstein | c31ba0e | 2016-07-27 17:34:45 -0700 | [diff] [blame] | 43 | #pragma pack(pop) |
| 44 | |
| 45 | #endif |