Revert "soc/intel/systemagent.c: Fix memory type reporting"
This reverts commit 9c2f3cc9d9
.
This broke the smihandler for no clear reason on some platforms.
Change-Id: I72da99c019241b627ce8b543937364a53a5fe97b
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68879
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
parent
1ed0908282
commit
2f5025efed
|
@ -201,8 +201,11 @@ static void sa_add_dram_resources(struct device *dev, int *resource_count)
|
|||
|
||||
sa_get_mem_map(dev, &sa_map_values[0]);
|
||||
|
||||
/* top_of_ram -> TOLUD */
|
||||
reserved_ram_from_to(dev, index++, top_of_ram, sa_map_values[SA_TOLUD_REG]);
|
||||
/*
|
||||
* top_of_ram -> TOLUD: This contains TSEG which needs to be uncacheable
|
||||
* for proper operation of the smihandler.
|
||||
*/
|
||||
mmio_from_to(dev, index++, top_of_ram, sa_map_values[SA_TOLUD_REG]);
|
||||
|
||||
/* 4GiB -> TOUUD */
|
||||
upper_ram_end(dev, index++, sa_map_values[SA_TOUUD_REG]);
|
||||
|
|
Loading…
Reference in New Issue