]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/PlatformInit.c
Vlv2TbltDevicePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Vlv2TbltDevicePkg / FspSupport / Library / SecFspPlatformSecLibVlv2 / PlatformInit.c
CommitLineData
3cbfba02
DW
1/** @file\r
2 This PEIM will parse the hoblist from fsp and report them into pei core.\r
3 This file contains the main entrypoint of the PEIM.\r
4\r
5 Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
9dc8036d 6 SPDX-License-Identifier: BSD-2-Clause-Patent\r
3cbfba02
DW
7\r
8**/\r
9\r
10\r
11#include <PiPei.h>\r
6ecc5d5c
WD
12#include <Library/DebugLib.h>\r
13#include <Library/SerialPortLib.h>\r
3cbfba02
DW
14\r
15VOID EnableInternalUart ();\r
16\r
17VOID\r
18EFIAPI\r
19PlatformInit (\r
20 IN VOID *FspHobList,\r
21 IN VOID *StartOfRange,\r
22 IN VOID *EndOfRange\r
23 )\r
24{\r
25 //\r
26 // Platform initialization\r
27 // Enable Serial port here\r
28 //\r
29 EnableInternalUart ();\r
30 SerialPortInitialize ();\r
31\r
32 DEBUG ((DEBUG_INFO, "PlatformInit\n"));\r
33 DEBUG ((DEBUG_INFO, "FspHobList - 0x%x\n", FspHobList));\r
34 DEBUG ((DEBUG_INFO, "StartOfRange - 0x%x\n", StartOfRange));\r
35 DEBUG ((DEBUG_INFO, "EndOfRange - 0x%x\n", EndOfRange));\r
36}\r