]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/Library/MultiPlatformLib/BoardSsidSvid/BoardSsidSvid.c
Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to
[mirror_edk2.git] / Vlv2TbltDevicePkg / Library / MultiPlatformLib / BoardSsidSvid / BoardSsidSvid.c
1 /** @file
2 Subsystem IDs setting for multiplatform.
3
4 Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
5
6 This program and the accompanying materials are licensed and made available under
7 the terms and conditions of the BSD License that accompanies this distribution.
8 The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php.
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14
15 **/
16
17 #include <BoardSsidSvid.h>
18
19 //
20 // Global module data
21 //
22 EFI_STATUS
23 InitializeBoardSsidSvid (
24 IN CONST EFI_PEI_SERVICES **PeiServices,
25 IN EFI_PLATFORM_INFO_HOB *PlatformInfoHob
26 )
27 {
28 UINT32 SsidSvidValue = 0;
29
30 //
31 // Set OEM ID according to Board ID.
32 //
33 switch (PlatformInfoHob->BoardId) {
34 case BOARD_ID_MINNOW2:
35 default:
36 SsidSvidValue = SUBSYSTEM_SVID_SSID;//SUBSYSTEM_SVID_SSID_DEFAULT;
37 break;
38 }
39 PlatformInfoHob->SsidSvid = SsidSvidValue;
40 return EFI_SUCCESS;
41 }
42