Add global uma_resource()
Like ram_resource(), but reserved and not cacheable.
Switch all AMD northbridges to use this one.
Change-Id: I88515c6a0f59f80fd8607c390d0d4a2a35d805f2
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/1203
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
diff --git a/src/include/device/device.h b/src/include/device/device.h
index f36710a..eb73c4e 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -166,6 +166,8 @@
void ram_resource(device_t dev, unsigned long index,
unsigned long basek, unsigned long sizek);
+void uma_resource(device_t dev, unsigned long index,
+ unsigned long basek, unsigned long sizek);
void tolm_test(void *gp, struct device *dev, struct resource *new);
u32 find_pci_tolm(struct bus *bus);