blob: e50d53e041dc82388a6ee96d1bae79fcf162ffab [file] [log] [blame]
zbao323a9232012-07-19 16:39:01 +08001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2012 Advanced Micro Devices, Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
Paul Menzela46a7122013-02-23 18:37:27 +010017 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
zbao323a9232012-07-19 16:39:01 +080018 */
19
20/*----------------------------------------------------------------------------------------
21 * M O D U L E S U S E D
22 *----------------------------------------------------------------------------------------
23 */
24
25#ifndef _DIMMSPD_H_
26#define _DIMMSPD_H_
27
zbao323a9232012-07-19 16:39:01 +080028/*----------------------------------------------------------------------------------------
29 * D E F I N I T I O N S A N D M A C R O S
30 *----------------------------------------------------------------------------------------
31 */
32
33/*----------------------------------------------------------------------------------------
34 * T Y P E D E F S A N D S T R U C T U R E S
35 *----------------------------------------------------------------------------------------
36 */
37
38/*----------------------------------------------------------------------------------------
39 * P R O T O T Y P E S O F L O C A L F U N C T I O N S
40 *----------------------------------------------------------------------------------------
41 */
42
43/*----------------------------------------------------------------------------------------
44 * E X P O R T E D F U N C T I O N S
45 *----------------------------------------------------------------------------------------
46 */
47
48AGESA_STATUS
49AmdMemoryReadSPD (IN UINT32 Func, IN UINT32 Data, IN OUT AGESA_READ_SPD_PARAMS *SpdData);
50
51/*---------------------------------------------------------------------------------------
52 * L O C A L F U N C T I O N S
53 *---------------------------------------------------------------------------------------
54 */
55
56#endif