Martin Roth | 829c41d | 2014-05-21 14:21:22 -0600 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2013 Google Inc. |
| 5 | * Copyright (C) 2014 Sage Electronic Engineering, LLC. |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; version 2 of the License. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program; if not, write to the Free Software |
| 18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ |
| 20 | |
| 21 | #ifndef _RANGELEY_ROMSTAGE_H_ |
| 22 | #define _RANGELEY_ROMSTAGE_H_ |
| 23 | |
| 24 | #if !defined(__PRE_RAM__) |
| 25 | #error "Don't include romstage.h from a ramstage compilation unit!" |
| 26 | #endif |
| 27 | |
| 28 | #include <stdint.h> |
| 29 | #include <arch/cpu.h> |
Martin Roth | a0a71b0 | 2014-12-08 10:53:19 -0700 | [diff] [blame] | 30 | #include <drivers/intel/fsp/fsp_util.h> |
Martin Roth | 829c41d | 2014-05-21 14:21:22 -0600 | [diff] [blame] | 31 | |
Martin Roth | a0a71b0 | 2014-12-08 10:53:19 -0700 | [diff] [blame] | 32 | void main(FSP_INFO_HEADER *fsp_info_header); |
Martin Roth | 829c41d | 2014-05-21 14:21:22 -0600 | [diff] [blame] | 33 | void early_mainboard_romstage_entry(void); |
| 34 | void late_mainboard_romstage_entry(void); |
| 35 | void get_func_disables(uint32_t *mask); |
| 36 | |
| 37 | void romstage_main_continue(EFI_STATUS status, void *hob_list_ptr); |
| 38 | |
| 39 | #endif /* _RANGELEY_ROMSTAGE_H_ */ |