blob: f5c80a9707b3610da00356c4575e96401e6ca323 [file] [log] [blame]
Martin Roth9b1b3352016-02-24 12:27:06 -08001/*
2 * MemTest86+ V5.00 Specific code (GPL V2.0)
3 * By Samuel DEMEULEMEESTER, sdemeule@memtest.org
4 * http://www.canardpc.com - http://www.memtest.org
5 */
6
7#define AMD_INDEX_IO_PORT 0xCD6
8#define AMD_DATA_IO_PORT 0xCD7
9#define AMD_SMBUS_BASE_REG 0x2C
Martin Roth4dcd13d2016-02-24 13:53:07 -080010
Martin Roth9b1b3352016-02-24 12:27:06 -080011void get_spd_spec(void);
12int get_ddr2_module_size(int rank_density_byte, int rank_num_byte);
13int get_ddr3_module_size(int sdram_capacity, int prim_bus_width, int sdram_width, int ranks);
14char* convert_hex_to_char(unsigned hex_org);
15void sb800_get_smb(void);
16
17