coreboot/src/drivers
Arthur Heymans df3d97e821 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>
2022-06-06 08:56:32 +00:00
..
acpi/thermal_zone drivers/acpi: Add a chip driver to generate thermal zone 2021-05-20 08:01:11 +00:00
amd drivers/amd/agesa/s3_mtrr.c: Save MSR for S3 using an array 2022-06-06 08:56:32 +00:00
ams include/bcd: move bcd code to commonlib/bsd/include 2021-08-23 14:08:47 +00:00
analogix/anx7625 treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
asmedia
aspeed src: Make PCI ID define names shorter 2022-03-07 08:32:09 +00:00
broadcom src: Make PCI ID define names shorter 2022-03-07 08:32:09 +00:00
camera
crb tpm: Refactor TPM Kconfig dimensions 2022-04-21 23:07:20 +00:00
elog drivers/elog/elog: Add timestamps to elog_init 2021-11-08 14:46:40 +00:00
emulation/qemu drivers/emulation/qemu: Add missing include for MMIO 2021-10-17 11:48:13 +00:00
generic {drivers,northbridge,security}: Remove unused <cpu/x86/lapic.h> 2022-04-24 21:23:10 +00:00
genesyslogic drivers/genesyslogic/gl9763e: Add set L1 entry delay to Max for GL9763E 2022-03-22 03:45:30 +00:00
gfx/generic drivers/gfx/generic: Add optional _HID for gfx devices 2021-12-01 22:04:12 +00:00
i2c drivers/i2c/generic: Add support for i2c device detection 2022-05-31 13:44:02 +00:00
intel driver/intel/fsp2_0: Disable NULL deref code when calling FSP 2022-06-01 13:40:20 +00:00
ipmi drivers/ipmi: Fix header guard 2022-05-16 06:54:57 +00:00
lenovo drivers: Remove unused <acpi/acpi.h> 2022-04-24 17:41:26 +00:00
maxim
mipi commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
mrc_cache drivers/mrc_cache/mrc_cache.c: Change loglevels 2022-02-23 15:05:12 +00:00
net drivers/net/r8168: Add support for Realtek RTL8111K 2022-03-24 15:47:37 +00:00
ocp/dmi cpu/x86/mp_init: use cb_err as status return type in remaining functions 2021-10-22 01:26:30 +00:00
parade commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
pc80 tpm: Refactor TPM Kconfig dimensions 2022-04-21 23:07:20 +00:00
pcie drivers/pcie/generic: Add support to generate code under companion device instead 2022-03-10 23:57:16 +00:00
ricoh/rce822 src: Make PCI ID define names shorter 2022-03-07 08:32:09 +00:00
secunet/dmi
siemens/nc_fpga src: Make PCI ID define names shorter 2022-03-07 08:32:09 +00:00
sil/3114
smmstore drivers/smmstore/store.c: Add fmap_config.h dependency 2022-02-14 16:13:41 +00:00
soundwire device/mipi: Move to drivers/mipi 2021-08-26 15:18:45 +00:00
spi drivers/spi: Add Winbond W25Q256JW details 2022-05-31 13:41:31 +00:00
ti commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
tpm drivers/i2c/tpm: Work around missing firmware_version in Ti50 < 0.0.15 2022-05-16 04:51:13 +00:00
uart drivers/uart/uart8250reg.h: use shifts in constants 2022-02-07 14:05:05 +00:00
usb CBMEM: Change declarations for initialization hooks 2022-05-20 07:15:39 +00:00
vpd CBMEM: Change declarations for initialization hooks 2022-05-20 07:15:39 +00:00
wifi/generic drivers/wifi: Move MTL Magnetar CNVi DIDs from SoC to generic driver 2022-06-03 15:28:12 +00:00
wwan/fm drivers/wwan/fm: Include option to add ACPI _DSD for DmaProperty 2022-03-07 17:48:44 +00:00