1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
//**********************************************************************
//**********************************************************************
//** **
//** (C)Copyright 1985-2009, American Megatrends, Inc. **
//** **
//** All Rights Reserved. **
//** **
//** 5555 Oakbrook Pkwy, Suite 200, Norcross, GA 30093 **
//** **
//** Phone: (770)-246-8600 **
//** **
//**********************************************************************
//**********************************************************************
//**********************************************************************
//
// $Header: /Alaska/SOURCE/Modules/USBRecovery/EhciPeiBoard.c 1 3/03/09 7:28p Olegi $
//
// $Revision: 1 $
//
// $Date: 3/03/09 7:28p $
//
//**********************************************************************
// Revision History
// ----------------
// $Log: /Alaska/SOURCE/Modules/USBRecovery/EhciPeiBoard.c $
//
// 1 3/03/09 7:28p Olegi
//**********************************************************************
//<AMI_FHDR_START>
//----------------------------------------------------------------------------
//
// Name: EhciPeiBoard.c
//
// Description: This file contains routines that are board specific for
// initializing the EHCI controller in the USB Recovery module.
//
//----------------------------------------------------------------------------
//<AMI_FHDR_END>
#include <PEI.h>
#include <AmiPeiLib.h>
#include <token.h>
#include <PPI/PeiGetUCtrl.h>
#include <PPI/OhciPPI.h>
#include <PPI/stall.h>
#include "EhciPei.h"
//----------------------------------------------------------------------------
// Porting Steps:
//
// 1) define/undefine the appropriate southbridge type
// 2) define registers and their set/clear bits for each register to be
// modified in each controller's PCI configuration space
// 3) do not do any generic initialization - programming of BAR and command
// register is done generically
//
//----------------------------------------------------------------------------
//<AMI_PHDR_START>
//----------------------------------------------------------------------------
//
// Procedure: EhciPeiBoardInit
//
// Description:
// This is a porting hook for board-specific EHCI controller
// initialization
//
// Input:
// IN EFI_PEI_SERVICES **PeiServices -
// IN EFI_PEI_PCI_CFG_PPI *Pci -
// IN EFI_PEI_STALL_PPI *StallPpi -
//
// Output:
// VOID
//
//----------------------------------------------------------------------------
//<AMI_PHDR_END>
EFI_STATUS EhciPeiBoardInit (
IN EFI_PEI_SERVICES **PeiServices,
IN EFI_PEI_PCI_CFG_PPI *Pci,
IN EFI_PEI_STALL_PPI *StallPpi )
{
EFI_STATUS Status = EFI_SUCCESS;
return Status;
}
//**********************************************************************
//**********************************************************************
//** **
//** (C)Copyright 1985-2009, American Megatrends, Inc. **
//** **
//** All Rights Reserved. **
//** **
//** 5555 Oakbrook Pkwy, Suite 200, Norcross, GA 30093 **
//** **
//** Phone: (770)-246-8600 **
//** **
//**********************************************************************
//**********************************************************************
//**********************************************************************
|