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