blob: 91f0dea9c1f417b9ccf4698cdf91ebbf8b5f4e65 [file] [log] [blame]
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +01001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2013 Vladimir Serbinenko
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20#ifndef RAMINIT_H
21#define RAMINIT_H
22
23#include "nehalem.h"
24
Vladimir Serbinenko902626c2014-02-16 17:22:26 +010025/* spd_addrmap is array of 4 elements:
26 Channel 0 Slot 0
27 Channel 0 Slot 1
28 Channel 1 Slot 0
29 Channel 1 Slot 1
30 0 means "not present"
31*/
32void raminit(const int s3resume, const u8 *spd_addrmap);
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010033
34#endif /* RAMINIT_H */