blob: 72681e16c97da73a0d94036dace69e07ba33c2b5 (
plain)
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
|
/** @file
Copyright (C) 2008-2025 Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Filecode.h>
#include <Uefi.h>
/*----------------------------------------------------------------------------------------*/
/**
* @param[in] EspiBase Espi MMIO base
* @param[in] RegAddr Slave register address
*
* @retval Register Value
*/
UINT32
FchEspiCmd_GetConfiguration (
IN UINT32 EspiBase,
IN UINT32 RegAddr
)
{
return 0;
}
/*----------------------------------------------------------------------------------------*/
/**
*
* @param[in] EspiBase Espi MMIO base
* @param[in] Address Address to read
* @param[in] Length Length in byte to read
* @param[in] Buffer Pointer to the data read to
*
*/
EFI_STATUS
FchEspiCmd_SafsFlashRead (
IN UINT32 EspiBase,
IN UINT32 Address,
IN UINT32 Length,
OUT UINT8 *Buffer
)
{
return EFI_SUCCESS;
}
/*----------------------------------------------------------------------------------------*/
/**
*
* @param[in] EspiBase Espi MMIO base
* @param[in] Address Address to write
* @param[in] Length Length in byte to write
* @param[in] Value Pointer to the data to write
*
*/
EFI_STATUS
FchEspiCmd_SafsFlashWrite (
IN UINT32 EspiBase,
IN UINT32 Address,
IN UINT32 Length,
IN UINT8 *Value
)
{
return EFI_SUCCESS;
}
/*----------------------------------------------------------------------------------------*/
/**
*
* @param[in] EspiBase Espi MMIO base
* @param[in] Address Address to erase
* @param[in] Length Block Size to erase
*
*
*/
EFI_STATUS
FchEspiCmd_SafsFlashErase (
IN UINT32 EspiBase,
IN UINT32 Address,
IN UINT32 Length
)
{
return EFI_SUCCESS;
}
|