blob: 5bda2ef2b6e5aae13d5c3f1dea9b10df4bb45599 [file] [log] [blame]
Stefan Reinauer00636b02012-04-04 00:08:51 +02001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2010 Google Inc.
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.
Stefan Reinauer00636b02012-04-04 00:08:51 +020014 */
15
16#ifndef RAMINIT_H
17#define RAMINIT_H
18
19#include "pei_data.h"
20
21struct sys_info {
22 u8 boot_path;
23#define BOOT_PATH_NORMAL 0
24#define BOOT_PATH_RESET 1
25#define BOOT_PATH_RESUME 2
26} __attribute__ ((packed));
27
28void sdram_initialize(struct pei_data *pei_data);
Kyösti Mälkki78938482014-01-04 11:02:45 +020029void save_mrc_data(struct pei_data *pei_data);
Stefan Reinauer00636b02012-04-04 00:08:51 +020030int fixup_sandybridge_errata(void);
31
32#endif /* RAMINIT_H */