From 0b08515c2b60c8ff67c04e65d27dabba8ac0025b Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Wed, 11 Jul 2012 23:14:49 +0300 Subject: Change uma_resource() to use new type IORESOURCE_UMA_FB. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MTRR setup code can detect this and mark it as UC/WT/WC as suitable for the specific hardware. Change-Id: Ib7a3d450fc7c19e3ca72767dfb350412dd35c971 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/1214 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/devices/device_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/devices') diff --git a/src/devices/device_util.c b/src/devices/device_util.c index 81d679a206..9362525180 100644 --- a/src/devices/device_util.c +++ b/src/devices/device_util.c @@ -821,7 +821,7 @@ void uma_resource(device_t dev, unsigned long index, resource = new_resource(dev, index); resource->base = ((resource_t)basek) << 10; resource->size = ((resource_t)sizek) << 10; - resource->flags = IORESOURCE_MEM | IORESOURCE_RESERVE | + resource->flags = IORESOURCE_MEM | IORESOURCE_RESERVE | IORESOURCE_UMA_FB | IORESOURCE_FIXED | IORESOURCE_STORED | IORESOURCE_ASSIGNED; } -- cgit v1.2.3