blob: 8e49b7c316937eec331bef651fbb41c1c495e01d [file] [log] [blame]
Bruce Griffith27ed80b2014-08-15 11:46:25 -06001/*
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.
Bruce Griffith27ed80b2014-08-15 11:46:25 -060014 */
15
16#ifndef _DIMMSPD_H_
17#define _DIMMSPD_H_
18
19AGESA_STATUS
20AmdMemoryReadSPD (IN UINT32 Func, IN UINT32 Data, IN OUT AGESA_READ_SPD_PARAMS *SpdData);
21
Kyösti Mälkkic5cc9f22014-10-17 22:33:22 +030022int hudson_readSpd(int spdAddress, char *buf, size_t len);
23
24int smbus_readSpd(int spdAddress, char *buf, size_t len);
25
Bruce Griffith27ed80b2014-08-15 11:46:25 -060026#endif