]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/PlatformInit.c
c54b8aff82ee055ed3fcdd3a291ec7bffa70fd17
[mirror_edk2.git] / Vlv2TbltDevicePkg / FspSupport / Library / SecFspPlatformSecLibVlv2 / PlatformInit.c
1 /** @file
2 This PEIM will parse the hoblist from fsp and report them into pei core.
3 This file contains the main entrypoint of the PEIM.
4
5 Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. 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 <PiPei.h>
18 #include <Library/DebugLib.h>
19 #include <Library/SerialPortLib.h>
20
21 VOID EnableInternalUart ();
22
23 VOID
24 EFIAPI
25 PlatformInit (
26 IN VOID *FspHobList,
27 IN VOID *StartOfRange,
28 IN VOID *EndOfRange
29 )
30 {
31 //
32 // Platform initialization
33 // Enable Serial port here
34 //
35 EnableInternalUart ();
36 SerialPortInitialize ();
37
38 DEBUG ((DEBUG_INFO, "PlatformInit\n"));
39 DEBUG ((DEBUG_INFO, "FspHobList - 0x%x\n", FspHobList));
40 DEBUG ((DEBUG_INFO, "StartOfRange - 0x%x\n", StartOfRange));
41 DEBUG ((DEBUG_INFO, "EndOfRange - 0x%x\n", EndOfRange));
42 }