diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2020-08-07 21:55:20 +0200 |
---|---|---|
committer | Michał Żygowski <michal.zygowski@3mdeb.com> | 2022-06-06 08:56:32 +0000 |
commit | df3d97e821e838323b9a846f01057c656047c3b3 (patch) | |
tree | 754a9ffc28c5fb0d6f0eccc15cad88c584fcc353 /src/northbridge/amd | |
parent | 0b917bde36a7c31f98d76af90ad5b6854d0c0f18 (diff) |
drivers/amd/agesa/s3_mtrr.c: Save MSR for S3 using an array
The size of the data used is fixed in this function so there is no
need for this aritmetic.
The function signature will be changed in a followup commit.
The cache_disable call is dropped as all the codepaths calling the
restore_mtrr function do this already.
TESTED on pcengines/apu1 and lenovo/g505s: S3 resume works fine.
Change-Id: I3c6df8951d39695cddd4635360d6407d4d001b0a
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44293
Reviewed-by: Mike Banon <mikebdp2@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Diffstat (limited to 'src/northbridge/amd')
0 files changed, 0 insertions, 0 deletions