switch-coreboot/src/device
Patrick Rudolph 00c0cd2c45 device/pci_rom: Write _ROM method for VGA devices
Write _ROM method and store PCI Option ROM in CBMEM.

Allows an EFI compatible OS to retrieve the Option ROM without the need
to access the PCI BAR. As the Option ROM is no longer present in the
legacy VGA area it's required for mobile platforms. On hybrid devices,
like Lenovo Thinkpads supporting NVIDIA Optimus it's the only way to
retrieve the Option ROM, even with legacy BIOS, as there's no PCI BAR to
map.

Tested on:
* Lenovo T530
* Linux Kernel 4.13.7
* nouveau

Change-Id: I548b730fb64833083cc05af5b21dd6959804224b
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/20548
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2018-01-31 08:36:52 +00:00
..
dram device/dram/ddr2.c: Store the checksum in the decoded SPD struct 2017-12-20 16:53:30 +00:00
oprom cpu/x86 asm: Just use the correct op suffix 2017-08-31 15:29:52 +00:00
azalia_device.c Correct some common spelling mistakes 2016-01-07 22:57:02 +01:00
cardbus_device.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cpu_device.c src/device: Capitalize CPU, RAM and ROM 2016-07-31 18:33:30 +02:00
device.c arch/x86: Enable ebda library for romstage and postcar 2017-09-22 15:29:30 +00:00
device_simple.c lib: provide clearer devicetree semantics 2017-04-25 18:14:38 +02:00
device_util.c sconfig: Add a new mmio resource type 2018-01-25 16:50:17 +00:00
hypertransport.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
i2c.c Reinvent I2C ops 2017-08-18 15:33:45 +00:00
i2c_bus.c device/i2c_bus: allow i2c_bus and i2c_simple to coexist 2018-01-24 05:02:50 +00:00
Kconfig Intel i82830 boards & chips: Remove - using LATE_CBMEM_INIT 2018-01-15 23:25:26 +00:00
Makefile.inc Reinvent I2C ops 2017-08-18 15:33:45 +00:00
pci_class.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pci_device.c device/pci_rom: Write _ROM method for VGA devices 2018-01-31 08:36:52 +00:00
pci_early.c src/device: add IS_ENABLED() around Kconfig symbol references 2017-06-28 17:48:57 +00:00
pci_ops.c PCI ops: MMCONF_SUPPORT_DEFAULT is required 2016-12-07 12:59:28 +01:00
pci_rom.c device/pci_rom: Write _ROM method for VGA devices 2018-01-31 08:36:52 +00:00
pciexp_device.c device/pciexp_device: Set values numerically instead of as bitmask 2017-12-08 11:38:05 +00:00
pcix_device.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pnp_device.c device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
root_device.c device: acpi_name() should take a const struct device 2017-09-14 14:34:27 +00:00
smbus_ops.c device/smbus: Reuse I2C bus operations where applicable 2017-08-18 15:34:15 +00:00
software_i2c.c include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00