Martin Roth | 5856240 | 2015-10-11 10:36:26 +0200 | [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. |
Martin Roth | 5856240 | 2015-10-11 10:36:26 +0200 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | #ifndef _RANGELEY_ROMSTAGE_H_ |
| 18 | #define _RANGELEY_ROMSTAGE_H_ |
| 19 | |
| 20 | #if !defined(__PRE_RAM__) |
| 21 | #error "Don't include romstage.h from a ramstage compilation unit!" |
| 22 | #endif |
| 23 | |
| 24 | #include <stdint.h> |
| 25 | #include <arch/cpu.h> |
| 26 | #include <drivers/intel/fsp1_0/fsp_util.h> |
| 27 | |
| 28 | void main(FSP_INFO_HEADER *fsp_info_header); |
| 29 | void early_mainboard_romstage_entry(void); |
| 30 | void late_mainboard_romstage_entry(void); |
| 31 | void get_func_disables(uint32_t *mask); |
| 32 | |
| 33 | void romstage_main_continue(EFI_STATUS status, void *hob_list_ptr); |
| 34 | |
| 35 | #endif /* _RANGELEY_ROMSTAGE_H_ */ |