blob: 9a200d475f43234fbbc6bfcec4f1740d703fdd34 [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.
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010014 */
15
16#ifndef RAMINIT_H
17#define RAMINIT_H
18
19#include "nehalem.h"
20
Vladimir Serbinenko9817a372014-02-19 22:07:12 +010021void chipset_init(const int s3resume);
Vladimir Serbinenko902626c2014-02-16 17:22:26 +010022/* spd_addrmap is array of 4 elements:
23 Channel 0 Slot 0
24 Channel 0 Slot 1
25 Channel 1 Slot 0
26 Channel 1 Slot 1
27 0 means "not present"
28*/
29void raminit(const int s3resume, const u8 *spd_addrmap);
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010030
31#endif /* RAMINIT_H */