UefiPayloadPkg: Enhance UEFI payload for coreboot and Slim Bootloader
[mirror_edk2.git] / UefiPayloadPkg / Include / Library / PlatformSupportLib.h
1 /** @file
2 Bootloader Platform Support library. Platform can provide an implementation of this
3 library class to provide hooks that may be required for some type of
4 platform features.
5
6 Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
8
9 **/
10
11 #ifndef __BOOTLOADER_PLATFORM_SUPPORT_LIB__
12 #define __BOOTLOADER_PLATFORM_SUPPORT_LIB__
13
14 /**
15 Parse platform specific information from bootloader
16
17 @retval RETURN_SUCCESS The platform specific coreboot support succeeded.
18 @retval RETURN_DEVICE_ERROR The platform specific coreboot support could not be completed.
19
20 **/
21 EFI_STATUS
22 EFIAPI
23 ParsePlatformInfo (
24 VOID
25 );
26
27 #endif // __BOOTLOADER_PLATFORM_SUPPORT_LIB__
28