blob: 21ba99b49dd4d0d0237740f8b66c6d6836b8b1ba [file] [log] [blame]
Angel Pons6e5aabd2020-03-23 23:44:42 +01001/* SPDX-License-Identifier: GPL-2.0-only */
2/* This file is part of the coreboot project. */
Vladimir Serbinenko7686a562014-05-18 11:05:56 +02003
Vladimir Serbinenkoffbb3c02016-02-10 01:36:25 +01004#ifndef RAMINIT_NATIVE_H
5#define RAMINIT_NATIVE_H
Vladimir Serbinenko7686a562014-05-18 11:05:56 +02006
Vladimir Serbinenkoffbb3c02016-02-10 01:36:25 +01007#include "sandybridge.h"
Vladimir Serbinenko7686a562014-05-18 11:05:56 +02008#include <device/dram/ddr3.h>
9
Angel Pons7c49cb82020-03-16 23:17:32 +010010/* The order is: ch0dimmA, ch0dimmB, ch1dimmA, ch1dimmB */
Kyösti Mälkkie258b9a2016-11-18 19:59:23 +020011void read_spd(spd_raw_data *spd, u8 addr, bool id_only);
12void mainboard_get_spd(spd_raw_data *spd, bool id_only);
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020013
Angel Pons7c49cb82020-03-16 23:17:32 +010014#endif /* RAMINIT_NATIVE_H */