diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2012-07-10 13:27:26 +0300 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-07-16 18:38:46 +0200 |
commit | 63f8c088307c5296809d9499b3b7cbaedb2a4440 (patch) | |
tree | ca18116deb580909d452f42f1c35d2fb6e5f53dd /src/include | |
parent | d4220691c58934420ad196d4a0903dc88388ae85 (diff) | |
download | coreboot-63f8c088307c5296809d9499b3b7cbaedb2a4440.tar.xz |
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>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/device/device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h index f36710ae0a..eb73c4ef53 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -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); |