blob: 6febfa3f61117b513fee97f2c89578bcc66a0ec1 [file] [log] [blame]
Stefan Reinauer00636b02012-04-04 00:08:51 +02001/*
2 * This file is part of the coreboot project.
3 *
Stefan Reinauer00636b02012-04-04 00:08:51 +02004 *
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.
Stefan Reinauer00636b02012-04-04 00:08:51 +020013 */
14
15#ifndef RAMINIT_H
16#define RAMINIT_H
17
18#include "pei_data.h"
19
20struct sys_info {
21 u8 boot_path;
22#define BOOT_PATH_NORMAL 0
23#define BOOT_PATH_RESET 1
24#define BOOT_PATH_RESUME 2
Stefan Reinauer6a001132017-07-13 02:20:27 +020025} __packed;
Stefan Reinauer00636b02012-04-04 00:08:51 +020026
27void sdram_initialize(struct pei_data *pei_data);
Kyösti Mälkki78938482014-01-04 11:02:45 +020028void save_mrc_data(struct pei_data *pei_data);
Vladimir Serbinenkoffbb3c02016-02-10 01:36:25 +010029void mainboard_fill_pei_data(struct pei_data *pei_data);
Stefan Reinauer00636b02012-04-04 00:08:51 +020030int fixup_sandybridge_errata(void);
31
Angel Pons7c49cb82020-03-16 23:17:32 +010032#endif /* RAMINIT_H */