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 8 the terms and conditions of the BSD License that accompanies this distribution. 10 The full text of the license may be found at 12 http://opensource.org/licenses/bsd-license.php. 14 16 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 18 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 20 22 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