Intel Sandybridge: add reserved memory as resources
Reserved memory resources will get removed from memory table at the end of write_coreboot_table(), Change-Id: I02711b4be4f25054bd3361295d8d4dc996b2eb3e Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1372 Tested-by: build bot (Jenkins) Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
This commit is contained in:
committed by
Anton Kochkov
parent
51676b14e8
commit
1ec5e744c6
@@ -361,6 +361,10 @@ void set_var_mtrr_resource(void *gp, struct device *dev, struct resource *res)
|
||||
return;
|
||||
}
|
||||
|
||||
if (res->flags & IORESOURCE_IGNORE_MTRR) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!(res->flags & IORESOURCE_CACHEABLE))
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user