Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 1 | /* |
| 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 Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #ifndef RAMINIT_H |
| 17 | #define RAMINIT_H |
| 18 | |
| 19 | #include "pei_data.h" |
| 20 | |
| 21 | struct 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 | |
| 28 | void sdram_initialize(struct pei_data *pei_data); |
Kyösti Mälkki | 7893848 | 2014-01-04 11:02:45 +0200 | [diff] [blame] | 29 | void save_mrc_data(struct pei_data *pei_data); |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 30 | int fixup_sandybridge_errata(void); |
| 31 | |
| 32 | #endif /* RAMINIT_H */ |