]> git.proxmox.com Git - mirror_edk2.git/blame - QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohInit.c
QuarkSocPkg: Add new package for Quark SoC X1000
[mirror_edk2.git] / QuarkSocPkg / QuarkSouthCluster / IohInit / Dxe / IohInit.c
CommitLineData
9b6bbcdb
MK
1/** @file\r
2QuarkSCSocId module initialization module\r
3\r
4Copyright (c) 2013-2015 Intel Corporation.\r
5\r
6This program and the accompanying materials\r
7are licensed and made available under the terms and conditions of the BSD License\r
8which accompanies this distribution. The full text of the license may be found at\r
9http://opensource.org/licenses/bsd-license.php\r
10\r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15#include "CommonHeader.h"\r
16#include "IohBds.h"\r
17\r
18/**\r
19 The entry function for IohInit driver.\r
20\r
21 This function just call initialization function.\r
22\r
23 @param ImageHandle The driver image handle for GmchInit driver\r
24 @param SystemTable The pointer to System Table\r
25\r
26 @retval EFI_SUCCESS Success to initialize every module.\r
27 @return EFI_STATUS The status of initialization work.\r
28\r
29**/\r
30EFI_STATUS\r
31EFIAPI\r
32IohInit (\r
33 IN EFI_HANDLE ImageHandle,\r
34 IN EFI_SYSTEM_TABLE *SystemTable\r
35 )\r
36{\r
37\r
38 InitializeIohSsvidSsid(IOH_BUS, IOH_PCI_IOSF2AHB_0_DEV_NUM, 0);\r
39\r
40 InitializeIohSsvidSsid(IOH_BUS, IOH_PCI_IOSF2AHB_1_DEV_NUM, 0);\r
41\r
42 return EFI_SUCCESS;\r
43}\r