]> git.proxmox.com Git - mirror_edk2.git/blob - CorebootModulePkg/Include/Library/CbPlatformSupportLib.h
CorebootModulePkg: Add a library to parse platform specific info.
[mirror_edk2.git] / CorebootModulePkg / Include / Library / CbPlatformSupportLib.h
1 /** @file
2 Coreboot 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, Intel Corporation. All rights reserved.<BR>
7 This program and the accompanying materials are licensed and made available under
8 the terms and conditions of the BSD License that accompanies this distribution.
9 The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php.
11
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14
15 **/
16
17 #ifndef __CB_PLATFORM_SUPPORT_LIB__
18 #define __CB_PLATFORM_SUPPORT_LIB__
19
20 /**
21 Parse platform specific information from coreboot.
22
23 @retval RETURN_SUCCESS The platform specific coreboot support succeeded.
24 @retval RETURN_DEVICE_ERROR The platform specific coreboot support could not be completed.
25
26 **/
27 EFI_STATUS
28 EFIAPI
29 CbParsePlatformInfo (
30 VOID
31 );
32
33 #endif // __CB_PLATFORM_SUPPORT_LIB__
34