]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohInit.c
QuarkSocPkg: Add new package for Quark SoC X1000
[mirror_edk2.git] / QuarkSocPkg / QuarkSouthCluster / IohInit / Dxe / IohInit.c
1 /** @file
2 QuarkSCSocId module initialization module
3
4 Copyright (c) 2013-2015 Intel Corporation.
5
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 #include "CommonHeader.h"
16 #include "IohBds.h"
17
18 /**
19 The entry function for IohInit driver.
20
21 This function just call initialization function.
22
23 @param ImageHandle The driver image handle for GmchInit driver
24 @param SystemTable The pointer to System Table
25
26 @retval EFI_SUCCESS Success to initialize every module.
27 @return EFI_STATUS The status of initialization work.
28
29 **/
30 EFI_STATUS
31 EFIAPI
32 IohInit (
33 IN EFI_HANDLE ImageHandle,
34 IN EFI_SYSTEM_TABLE *SystemTable
35 )
36 {
37
38 InitializeIohSsvidSsid(IOH_BUS, IOH_PCI_IOSF2AHB_0_DEV_NUM, 0);
39
40 InitializeIohSsvidSsid(IOH_BUS, IOH_PCI_IOSF2AHB_1_DEV_NUM, 0);
41
42 return EFI_SUCCESS;
43 }