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>
This commit is contained in:
Kyösti Mälkki
2012-07-10 13:27:26 +03:00
committed by Patrick Georgi
parent d4220691c5
commit 63f8c08830
9 changed files with 25 additions and 97 deletions

View File

@@ -166,6 +166,8 @@ unsigned int scan_static_bus(device_t bus, unsigned int max);
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);