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