u-boot/arch/x86/cpu
Simon Glass d560f7cae0 x86: Return mtrr_add_request() to its old purpose
This function used to be for adding a list of requests to be actioned on
relocation. Revert it back to this purpose, to avoid problems with boards
which need control of their MTRRs (i.e. those which don't use FSP).

The mtrr_set_next_var() function is available when the next free
variable-MTRR must be set, so this can be used instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Fixes: 3bcd6cf89e ("x86: mtrr: Skip MSRs that were already programmed..")
Fixes: 596bd0589a ("x86: mtrr: Do not clear the unused ones..")
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
2023-08-01 10:06:46 +08:00
..
apollolake Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
baytrail dm: Emit the arch_cpu_init_dm() even only before relocation 2023-05-11 10:25:29 +08:00
braswell common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
broadwell x86: samus: Don't include audio and SATA in TPL 2023-05-11 10:25:29 +08:00
coreboot Correct SPL uses of USB_KEYBOARD 2023-02-10 07:41:40 -05:00
efi Correct SPL uses of USB_KEYBOARD 2023-02-10 07:41:40 -05:00
i386 x86: Tidy up EFI code in interrupt_init() 2023-07-17 17:08:44 +08:00
intel_common x86: Convert some debug statements to use logging 2023-07-17 17:23:14 +08:00
ivybridge x86: Convert some debug statements to use logging 2023-07-17 17:23:14 +08:00
qemu x86: Switch QEMU over to use the bochs driver 2023-07-17 17:23:15 +08:00
quark dm: Emit the arch_cpu_init_dm() even only before relocation 2023-05-11 10:25:29 +08:00
queensbay x86: queensbay: Return directly if IGD / SDVO were already disabled 2021-08-03 00:03:14 +08:00
slimbootloader board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
tangier board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
x86_64 x86: Support debug UART in 64-bit mode 2023-05-11 10:25:29 +08:00
acpi_gpe.c x86: acpi_gpe: Update driver name to match devicetree 2021-02-01 15:11:41 +08:00
call32.S common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
config.mk x86: efi: Don't use the 64-bit link script for the EFI app 2022-01-15 10:57:22 +01:00
cpu.c x86: Adjust search range for sysinfo table 2023-05-11 10:25:29 +08:00
cpu_x86.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ioapic.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
irq.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
lapic.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Makefile x86: Don't enable SMP in SPL 2020-07-20 09:46:46 +08:00
mp_init.c dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
mtrr.c x86: Return mtrr_add_request() to its old purpose 2023-08-01 10:06:46 +08:00
pci.c x86: pci: Use PCI_CONF1_ADDRESS() macro 2022-01-12 14:21:24 -05:00
qfw_cpu.c x86: qemu: move QFW to its own uclass 2021-04-12 17:44:55 -04:00
resetvec.S x86: Reduce resetvec size 2019-10-11 17:37:38 +08:00
sipi_vector.S common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
start.S Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
start16.S common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
start64.S x86: Improve the trampoline in 64-bit mode 2023-07-17 17:12:07 +08:00
start_from_spl.S x86: coral: Allow init of debug UART in U-Boot proper 2021-03-27 15:04:30 +13:00
start_from_tpl.S x86: Add more comments to the start-up code 2019-10-08 13:57:36 +08:00
turbo.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
u-boot-64.lds Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
u-boot-spl.lds linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
u-boot.lds Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
wakeup.S x86: Move acpi_s3.h to include/acpi/ 2020-04-16 14:36:28 +08:00