blob: 44e2299d665f63372911e3dc477c16951d21888f [file] [log] [blame]
Angel Pons4b429832020-04-02 23:48:50 +02001/* SPDX-License-Identifier: GPL-2.0-only */
2/* This file is part of the coreboot project. */
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +01003
4#ifndef RAMINIT_H
5#define RAMINIT_H
6
Angel Pons95de2312020-02-17 13:08:53 +01007#include "ironlake.h"
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +01008
Vladimir Serbinenko9817a372014-02-19 22:07:12 +01009void chipset_init(const int s3resume);
Vladimir Serbinenko902626c2014-02-16 17:22:26 +010010/* spd_addrmap is array of 4 elements:
11 Channel 0 Slot 0
12 Channel 0 Slot 1
13 Channel 1 Slot 0
14 Channel 1 Slot 1
15 0 means "not present"
16*/
17void raminit(const int s3resume, const u8 *spd_addrmap);
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010018
19#endif /* RAMINIT_H */