1 /** @file
2 
3   Copyright (c) 2004  - 2014, Intel Corporation. All rights reserved.<BR>
4 
5 
6   This program and the accompanying materials are licensed and made available under
7 
8   the terms and conditions of the BSD License that accompanies this distribution.
9 
10   The full text of the license may be found at
11 
12   http://opensource.org/licenses/bsd-license.php.
13 
14 
15 
16   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17 
18   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 
20 
21 
22 
23 Module Name:
24 
25 
26     CpuInitPeim.c
27 
28 Abstract:
29 
PlatformCpuInit(IN CONST EFI_PEI_SERVICES ** PeiServices,IN SYSTEM_CONFIGURATION * SystemConfiguration,IN EFI_PLATFORM_CPU_INFO * PlatformCpuInfo)30     Functions for LpcSio initilization
31     It is needed for early onboard LAN controller disable/enable in platform setup.
32 
33 --*/
34 
35 #include "PlatformEarlyInit.h"
36 
37 
38 EFI_STATUS
39 PlatformCpuInit (
40   IN CONST EFI_PEI_SERVICES            **PeiServices,
41   IN SYSTEM_CONFIGURATION        *SystemConfiguration,
42   IN EFI_PLATFORM_CPU_INFO       *PlatformCpuInfo
43   )
44 {
45   BOOLEAN                     ResetRequired;
46 
47   //
48   // Variable initialization
49   //
50   ResetRequired = FALSE;
51 
52 
53   if (ResetRequired) {
54     CpuOnlyReset(PeiServices);
55   }
56 
57   return EFI_SUCCESS;
58 }
59