blob: 1bba1809c621b3ca18695fd34e8307722b7f2a12 [file] [log] [blame]
Angel Pons6e5aabd2020-03-23 23:44:42 +01001/* SPDX-License-Identifier: GPL-2.0-only */
Vladimir Serbinenko7686a562014-05-18 11:05:56 +02002
Vladimir Serbinenkoffbb3c02016-02-10 01:36:25 +01003#ifndef RAMINIT_NATIVE_H
4#define RAMINIT_NATIVE_H
Vladimir Serbinenko7686a562014-05-18 11:05:56 +02005
Vladimir Serbinenkoffbb3c02016-02-10 01:36:25 +01006#include "sandybridge.h"
Vladimir Serbinenko7686a562014-05-18 11:05:56 +02007#include <device/dram/ddr3.h>
8
Angel Pons7c49cb82020-03-16 23:17:32 +01009/* The order is: ch0dimmA, ch0dimmB, ch1dimmA, ch1dimmB */
Kyösti Mälkkie258b9a2016-11-18 19:59:23 +020010void read_spd(spd_raw_data *spd, u8 addr, bool id_only);
11void mainboard_get_spd(spd_raw_data *spd, bool id_only);
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020012
Angel Pons7c49cb82020-03-16 23:17:32 +010013#endif /* RAMINIT_NATIVE_H */