diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-07-29 07:34:03 +0200 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2022-08-26 14:20:26 +0000 |
commit | 1233c43a983f0e05cf19c670b790d5e0fe66e2af (patch) | |
tree | 0791bee4d74de6212d93b0c74e1a7ad77dc71e03 | |
parent | 5436548993d465d55169c91b2acfd46b3287ec95 (diff) |
nb/intel/sandybridge: Align TOUUD down to 1 MiB granularity
This register has a 1MiB granularity. The lowest bit is a lock bit.
Change-Id: I688cb7818fc849784026ca0bc6acb7ef1ae92133
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66256
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/northbridge/intel/sandybridge/northbridge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/sandybridge/northbridge.c b/src/northbridge/intel/sandybridge/northbridge.c index 14fde8b08a..521044bcba 100644 --- a/src/northbridge/intel/sandybridge/northbridge.c +++ b/src/northbridge/intel/sandybridge/northbridge.c @@ -85,7 +85,7 @@ static uint64_t get_touud(const struct device *dev) { uint64_t touud = pci_read_config32(dev, TOUUD + 4); touud <<= 32; - touud |= pci_read_config32(dev, TOUUD); + touud |= pci_read_config32(dev, TOUUD) & 0xfff00000; return touud; } |