blob: 9a02e6a4674021f54e9461acc7af7593b01d0413 [file] [log] [blame]
Andrey Petrov060b2152016-05-13 15:27:42 -07001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2016 Intel Corporation.
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 _INTEL_COMMON_VBT_H_
17#define _INTEL_COMMON_VBT_H_
18
19#include <commonlib/region.h>
20#include <types.h>
21
22/* locate .vbt file */
23enum cb_err locate_vbt(struct region_device *rdev);
Abhay Kumarec2947f2016-07-14 18:43:54 -070024/*
25 * Returns VBT pointer and mapping after checking prerequisites for Pre OS
26 * Graphics initialization
27 */
28void *vbt_get(struct region_device *rdev);
Andrey Petrov060b2152016-05-13 15:27:42 -070029#endif