blob: 57f1899367591726876439ea14a2ee08c0b2f3c6 [file] [log] [blame]
Martin Roth58562402015-10-11 10:36:26 +02001/*
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 Roth58562402015-10-11 10:36:26 +020015 */
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
28void main(FSP_INFO_HEADER *fsp_info_header);
29void early_mainboard_romstage_entry(void);
30void late_mainboard_romstage_entry(void);
31void get_func_disables(uint32_t *mask);
32
33void romstage_main_continue(EFI_STATUS status, void *hob_list_ptr);
34
35#endif /* _RANGELEY_ROMSTAGE_H_ */