summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-08-02 09:46:38 +0300
committerAnton Kochkov <anton.kochkov@gmail.com>2012-08-06 17:01:43 +0200
commitc02cadaee1c909c116b54502eadeade725011767 (patch)
tree2c851a0161cfa2b18ae4ebfa734ba8731aefbb9b
parentffb6bddea274e2476327efe59661a62cf904de40 (diff)
downloadcoreboot-c02cadaee1c909c116b54502eadeade725011767.tar.xz
AMD RS690: mark MMCONF resource as reserved MEM
Use IORESOURCE_RESERVE to exclude the region from system RAM table. Change-Id: I61b51022165e1304a41554f67af75b3089d892af Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1393 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
-rw-r--r--src/southbridge/amd/rs690/ht.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/southbridge/amd/rs690/ht.c b/src/southbridge/amd/rs690/ht.c
index 9eb47bbdc5..e3145f7a1c 100644
--- a/src/southbridge/amd/rs690/ht.c
+++ b/src/southbridge/amd/rs690/ht.c
@@ -103,7 +103,8 @@ static void ht_dev_read_resources(device_t dev)
res->align = log2(res->size);
res->gran = log2(res->size);
res->limit = 0xffffffffffffffffULL; /* 64bit */
- res->flags = IORESOURCE_FIXED | IORESOURCE_MEM | IORESOURCE_PCI64 | IORESOURCE_ASSIGNED;
+ res->flags = IORESOURCE_FIXED | IORESOURCE_MEM | IORESOURCE_PCI64 |
+ IORESOURCE_ASSIGNED | IORESOURCE_RESERVE;
compact_resources(dev);
#endif