coreboot-kgpe-d16/src/arch/x86
Kyösti Mälkki ed318f2001 arch/x86: Add symbols for CAR MTRRs in linker script
This allows to remove references to CONFIG_DCACHE_RAM entries in
most cache_as_ram.S files. While Kconfig variable names appear
for every stage, linker symbol names will only appear in stages
they are valid in.

Also, linker scripts have LOG2CEIL which comes in handy to enforce
MTRR alignments.

Change-Id: I2fef3546d2bfea2d4d8f87aaf8376e5566fd6aaa
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/30872
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-06-13 12:25:18 +00:00
..
acpi treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
include arch/x86/postcar_loader: utilize var_mtrr_context API 2020-06-02 16:10:05 +00:00
acpi_bert_storage.c src: Remove unused 'include <bootstate.h>' 2020-06-02 07:40:35 +00:00
acpi_s3.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
assembly_entry.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
boot.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
bootblock_crt0.S arch/x86: Remove more romcc leftovers 2020-05-28 09:50:52 +00:00
bootblock_normal.c src: Remove unused 'include <string.h>' 2020-05-18 07:41:24 +00:00
c_start.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
car.ld arch/x86: Add symbols for CAR MTRRs in linker script 2020-06-13 12:25:18 +00:00
cbmem.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cf9_reset.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cpu.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cpu_common.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ebda.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
exception.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
exit_car.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
gdt.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
gdt_init.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
id.ld arch/x86: Fix id section in linker script 2020-05-28 09:51:46 +00:00
id.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
idt.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ioapic.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Kconfig treewide: Add Kconfig variable MEMLAYOUT_LD_FILE 2020-06-13 06:49:23 +00:00
Makefile.inc treewide: Add Kconfig variable MEMLAYOUT_LD_FILE 2020-06-13 06:49:23 +00:00
memcpy.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
memlayout.ld arch/x86: Include id.ld unconditionally in memlayout.ld 2020-06-13 06:51:18 +00:00
memmove.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
memset.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
mmap_boot.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
mpspec.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pirq_routing.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
post.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
postcar.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
postcar_loader.c arch/x86/postcar_loader: utilize var_mtrr_context API 2020-06-02 16:10:05 +00:00
rdrand.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smbios.c SMBIOS: Remove Kconfig SYSTEM_ENCLOSURE_TYPE 2020-06-09 06:29:59 +00:00
tables.c src: Remove unused 'include <bootstate.h>' 2020-06-02 07:40:35 +00:00
thread.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
thread_switch.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
timestamp.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
timestamp.inc treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
verstage.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
wakeup.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
walkcbfs.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00