summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/pi/dimmSpd.h
blob: 578df0dba30e1eb9c5eb9084e6b5bbc1d6b93bbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef _DIMMSPD_H_
#define _DIMMSPD_H_

AGESA_STATUS
AmdMemoryReadSPD(IN UINT32 Func, IN UINTN Data, IN OUT AGESA_READ_SPD_PARAMS *SpdData);

int hudson_readSpd(int spdAddress, char *buf, size_t len);

int smbus_readSpd(int spdAddress, char *buf, size_t len);

#endif