blob: 22aea5b5088c3c9386d323978cafea257467b6fb [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>
Elyes HAOUAS1d6484a2020-07-10 11:18:11 +02008#include <stdbool.h>
9#include <stdint.h>
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020010
Angel Pons7c49cb82020-03-16 23:17:32 +010011/* The order is: ch0dimmA, ch0dimmB, ch1dimmA, ch1dimmB */
Kyösti Mälkkie258b9a2016-11-18 19:59:23 +020012void read_spd(spd_raw_data *spd, u8 addr, bool id_only);
13void mainboard_get_spd(spd_raw_data *spd, bool id_only);
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020014
Angel Pons7c49cb82020-03-16 23:17:32 +010015#endif /* RAMINIT_NATIVE_H */