diff options
author | Nico Huber <nico.h@gmx.de> | 2015-11-05 23:27:06 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2015-11-24 20:59:18 +0100 |
commit | 1ef80141c05bd1a5acb17b3b59567fd2d4dee9f0 (patch) | |
tree | a5f0a9889018aa9f5b6437c13330d70b39186a1f /src/soc/intel | |
parent | 22861385613e34a16ef745917f6956a92243d88b (diff) | |
download | coreboot-1ef80141c05bd1a5acb17b3b59567fd2d4dee9f0.tar.xz |
soc/intel/braswell: Drop gfx_read_resources()
Drop the last remnant of vanished CONFIG_MARK_GRAPHICS_MEM_WRCOMB.
Could not build test google/cyan and intel/strago due to lack of UEFI
headers, OMG.
Change-Id: I0b9eac5c040d24bab2b85e9b63042b6aaa9879d9
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: http://review.coreboot.org/12338
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/braswell/gfx.c | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/src/soc/intel/braswell/gfx.c b/src/soc/intel/braswell/gfx.c index 3cbffc6f56..4328abb243 100644 --- a/src/soc/intel/braswell/gfx.c +++ b/src/soc/intel/braswell/gfx.c @@ -75,28 +75,8 @@ static void gfx_init(device_t dev) gfx_post_vbios_init(dev); } -static void gfx_read_resources(device_t dev) -{ - printk(BIOS_SPEW, "%s/%s ( %s )\n", - __FILE__, __func__, dev_name(dev)); - - pci_dev_read_resources(dev); - -#if IS_ENABLED(CONFIG_MARK_GRAPHICS_MEM_WRCOMB) - struct resource *res; - - /* Set the graphics memory to write combining. */ - res = find_resource(dev, PCI_BASE_ADDRESS_2); - if (res == NULL) { - printk(BIOS_DEBUG, "GFX: memory resource not found.\n"); - return; - } - res->flags |= IORESOURCE_WRCOMB; -#endif -} - static struct device_operations gfx_device_ops = { - .read_resources = gfx_read_resources, + .read_resources = pci_dev_read_resources, .set_resources = pci_dev_set_resources, .enable_resources = pci_dev_enable_resources, .init = gfx_init, |