cpu/x86: Use correct config flag for 1GiB page table

The commit below uses USE_1G_PAGETABLES config flag instead of
the correct USE_1G_PAGES_TLB.
"commit ecbc243a45
("cpu/x86: Add 1GiB pages for memory access up to 512GiB")"

Signed-off-by: Bora Guvendik <bora.guvendik@intel.com>
Change-Id: Ic19812bc1f90cbe7d3739c42a0314b3650e0501d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81343
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
This commit is contained in:
Bora Guvendik
2024-03-18 13:38:28 -07:00
committed by Jérémy Compostella
parent a7fbef4c19
commit de37be8a1a

View File

@@ -3,7 +3,7 @@
all_x86-y += mode_switch.S all_x86-y += mode_switch.S
all_x86-y += mode_switch2.S all_x86-y += mode_switch2.S
ifeq ($(CONFIG_USE_1G_PAGETABLES),y) ifeq ($(CONFIG_USE_1G_PAGES_TLB),y)
PAGETABLE_SRC := pt1G.S PAGETABLE_SRC := pt1G.S
else else
PAGETABLE_SRC := pt.S PAGETABLE_SRC := pt.S