Andrey Petrov | 060b215 | 2016-05-13 15:27:42 -0700 | [diff] [blame] | 1 | /* |
| 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 */ |
| 23 | enum cb_err locate_vbt(struct region_device *rdev); |
Abhay Kumar | ec2947f | 2016-07-14 18:43:54 -0700 | [diff] [blame] | 24 | /* |
| 25 | * Returns VBT pointer and mapping after checking prerequisites for Pre OS |
| 26 | * Graphics initialization |
| 27 | */ |
| 28 | void *vbt_get(struct region_device *rdev); |
Andrey Petrov | 060b215 | 2016-05-13 15:27:42 -0700 | [diff] [blame] | 29 | #endif |