blob: b782d8396cbb8630189275ba62f1d0470cbf6d27 [file] [log] [blame]
Aaron Durbin76c37002012-10-30 09:03:43 -05001/*
2 * This file is part of the coreboot project.
3 *
Aaron Durbin76c37002012-10-30 09:03:43 -05004 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
Aaron Durbin76c37002012-10-30 09:03:43 -050013 */
14
15#ifndef RAMINIT_H
16#define RAMINIT_H
17
18#include "pei_data.h"
19
Aaron Durbin76c37002012-10-30 09:03:43 -050020void sdram_initialize(struct pei_data *pei_data);
Matt DeVillier5aaa8ce2016-09-02 13:29:17 -050021void setup_sdram_meminfo(struct pei_data *pei_data);
Aaron Durbin76c37002012-10-30 09:03:43 -050022int fixup_haswell_errata(void);
Aaron Durbin2ad1dba2013-02-07 00:51:18 -060023/* save_mrc_data() must be called after cbmem has been initialized. */
24void save_mrc_data(struct pei_data *pei_data);
Aaron Durbin76c37002012-10-30 09:03:43 -050025
26#endif /* RAMINIT_H */