coreboot/src/drivers
Matt DeVillier 53e4195625 drv/intel/gma/opregion: Add common init_idg_opregion()
Add a new common method to initialize ACPI OpRegion.
* Try to locate vbt.bin in CBFS.
* Try to locate VBIOS in CBFS.
* Keep existing code to probe at 0xc0000.

Tested on Lenovo T430 (sandybridge) using vbt.bin, tested using buggy
VBIOS with wrong vbt_offset, tested with fake vbt written by NGI at
0xc0000.

Tested with https://review.coreboot.org/#/c/21766/ on i945 (using fake
vbt at 0xc0000), x4x (using vbt.bin) and gm45 (using vendor VBIOS).
In all cases linux was successfully provided with VBT from ACPI
opregion.

Change-Id: I8ee50ea9900537bd9e3ca5ab0cd3f48d2acec970
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/20969
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
2017-10-13 05:17:45 +00:00
..
amd/agesa AGESA: Move API interface under drivers/ 2017-09-26 10:07:07 +00:00
ams include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
aspeed src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
ati/ragexl src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
dec/21143 kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:18 +02:00
elog src/drivers: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:54:48 +00:00
emulation/qemu src/drivers: Add license headers 2017-06-12 04:08:14 +02:00
generic device: acpi_name() should take a const struct device 2017-09-14 14:34:27 +00:00
gic
i2c Use stopwatch_wait_until_expired where applicable 2017-09-26 16:53:28 +00:00
intel drv/intel/gma/opregion: Add common init_idg_opregion() 2017-10-13 05:17:45 +00:00
ipmi src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
lenovo mb/lenovo/t*00/romstage: Switch to new hybrid driver 2017-08-10 16:06:26 +00:00
maxim include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
net src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
parade include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
pc80 vboot: remove init_vbnv_cmos() 2017-09-20 23:53:23 +00:00
ricoh/rce822 buildsystem: Drop explicit (k)config.h includes 2016-12-08 19:46:53 +01:00
siemens/nc_fpga siemens/nc_fpga: Move some parameters to another function 2017-09-28 09:01:26 +00:00
sil/3114 src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
spi device: acpi_name() should take a const struct device 2017-09-14 14:34:27 +00:00
ti include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
uart mb/*/*: Remove rtc nvram configurable baud rate 2017-09-23 11:06:25 +00:00
usb drivers/usb/Kconfig: remove USBDEBUG_DONGLE_BEAGLEBONE_BLACK 2017-09-28 01:32:49 +00:00
xgi src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
xpowers/axp209 include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00