blob: 228aca2d940de07b76a9422674d14e92efb00ec8 [file] [log] [blame]
Andrey Petrovdc4ae112016-05-12 19:10:11 -07001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2016 Intel 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.
14 */
15
16#ifndef _COMMON_OPREGION_H_
17#define _COMMON_OPREGION_H_
18
19#include "gma.h"
20
21/* Loads vbt and initializes opregion. Returns non-zero on success */
22int init_igd_opregion(igd_opregion_t *opregion);
23
24#endif /* _COMMON_OPREGION_H_ */