blob: 60a5665ba92a5289eef6ed31eb36baefee574f56 [file] [log] [blame]
Vladimir Serbinenko7686a562014-05-18 11:05:56 +02001/*
2 * This file is part of the coreboot project.
3 *
Vladimir Serbinenko7686a562014-05-18 11:05:56 +02004 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020013 */
14
Vladimir Serbinenkoffbb3c02016-02-10 01:36:25 +010015#ifndef RAMINIT_NATIVE_H
16#define RAMINIT_NATIVE_H
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020017
Vladimir Serbinenkoffbb3c02016-02-10 01:36:25 +010018#include "sandybridge.h"
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020019#include <device/dram/ddr3.h>
20
Angel Pons7c49cb82020-03-16 23:17:32 +010021/* The order is: ch0dimmA, ch0dimmB, ch1dimmA, ch1dimmB */
Kyösti Mälkkie258b9a2016-11-18 19:59:23 +020022void read_spd(spd_raw_data *spd, u8 addr, bool id_only);
23void mainboard_get_spd(spd_raw_data *spd, bool id_only);
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020024
Angel Pons7c49cb82020-03-16 23:17:32 +010025#endif /* RAMINIT_NATIVE_H */