]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/PlatformInit.c
Vlv2TbltDevicePkg: Replace BSD License with BSD+Patent License
[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 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10
11 #include <PiPei.h>
12 #include <Library/DebugLib.h>
13 #include <Library/SerialPortLib.h>
14
15 VOID EnableInternalUart ();
16
17 VOID
18 EFIAPI
19 PlatformInit (
20 IN VOID *FspHobList,
21 IN VOID *StartOfRange,
22 IN VOID *EndOfRange
23 )
24 {
25 //
26 // Platform initialization
27 // Enable Serial port here
28 //
29 EnableInternalUart ();
30 SerialPortInitialize ();
31
32 DEBUG ((DEBUG_INFO, "PlatformInit\n"));
33 DEBUG ((DEBUG_INFO, "FspHobList - 0x%x\n", FspHobList));
34 DEBUG ((DEBUG_INFO, "StartOfRange - 0x%x\n", StartOfRange));
35 DEBUG ((DEBUG_INFO, "EndOfRange - 0x%x\n", EndOfRange));
36 }