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>
This commit is contained in:
Kyösti Mälkki 2012-08-02 09:46:38 +03:00 committed by Anton Kochkov
parent ffb6bddea2
commit c02cadaee1
1 changed files with 2 additions and 1 deletions

View File

@ -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