u-boot/arch/x86/include/asm
Simon Glass 33139a0bc7 x86: Move coreboot-table detection into common code
To support detecting booting from coreboot, move the code which locates
the coreboot tables into a common place. Adjust the algorithm slightly to
use a word comparison instead of string, since it is faster.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: correct the comments to 960KB]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
2020-04-30 17:47:06 +08:00
..
acpi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
arch-apollolake x86: apl: Add Global NVS table header 2020-04-16 14:36:28 +08:00
arch-baytrail x86: acpi: Remove redundant Offset (0x00) 2018-11-06 13:35:06 +08:00
arch-braswell SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
arch-broadwell x86: Make MSR_PKG_POWER_SKU common 2019-12-15 11:44:20 +08:00
arch-coreboot x86: Correct wording of coreboot source code 2020-04-16 14:36:28 +08:00
arch-ivybridge x86: Make MSR_PKG_POWER_SKU common 2019-12-15 11:44:20 +08:00
arch-qemu x86: qemu: Support getting high memory size 2019-09-10 14:19:39 +08:00
arch-quark x86: acpi: Remove redundant Offset (0x00) 2018-11-06 13:35:06 +08:00
arch-queensbay SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
arch-slimbootloader x86: slimbootloader: Set TSC information for tsc_timer 2019-08-09 22:24:02 +08:00
arch-tangier x86: acpi: Describe USB 3 host controller found on Intel Tangier 2020-04-04 22:08:44 +08:00
fsp x86: fsp: Make the notify API call common 2019-12-15 11:44:17 +08:00
fsp1 x86: fsp: Make the notify API call common 2019-12-15 11:44:17 +08:00
fsp2 x86: fsp: Add FSP2 base support 2019-12-15 11:44:16 +08:00
video x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
acpi.h x86: acpi: Move APIs unrelated to ACPI tables generation to a separate library 2018-07-20 09:33:22 +08:00
acpi_table.h x86: Move acpi_table header to main include/ directory 2020-04-16 14:36:28 +08:00
atomic.h x86: Add atomic operations 2015-04-29 21:02:33 -06:00
bitops.h x86: Define PLATFORM__SET_BIT for generic_set_bit() 2018-05-15 21:44:05 -04:00
bootm.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bootparam.h x86: zImage: Propagate acpi_rsdp_addr to kernel via boot parameters 2019-10-01 18:20:47 +08:00
byteorder.h x86: Fix up byteorder.h for x86_64 2017-02-06 11:38:46 +08:00
cache.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cmos_layout.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
config.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
control_regs.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
coreboot_tables.h x86: Move coreboot-table detection into common code 2020-04-30 17:47:06 +08:00
cpu.h x86: spl: Support init of a PUNIT 2019-11-03 07:20:27 +08:00
cpu_common.h x86: Add new common CPU functions for turbo/burst mode 2019-10-08 13:57:47 +08:00
cpu_x86.h x86: cpu_x86: Make cpu_x86_get_count() non-static 2020-03-05 18:25:22 +08:00
dma-mapping.h dma-mapping: move dma_map_(un)single() to <linux/dma-mapping.h> 2020-02-19 21:27:30 +08:00
e820.h x86: Rename e820entry to e820_entry 2018-04-16 16:54:51 +08:00
early_cmos.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fast_spi.h x86: spi: Add helper functions for Intel Fast SPI 2019-12-15 11:44:08 +08:00
fsp_arch.h x86: Move fsp_ffs.h include to fsp_arch.h 2019-10-08 13:50:55 +08:00
global_data.h acpi: Add an acpi command 2020-04-30 17:16:12 +08:00
gpio.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
handoff.h x86: fsp: Save usable RAM and hob_list in the handoff area 2019-10-08 13:57:36 +08:00
hob.h x86: fsp: Tidy up comment style a little 2019-10-08 13:53:54 +08:00
i8254.h sound: x86: Add beeping support in i8254 2019-02-20 15:27:09 +08:00
i8259.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ibmpc.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
intel_pinctrl.h x86: Add a generic Intel pinctrl driver 2019-12-15 11:44:25 +08:00
intel_pinctrl_defs.h x86: Correct wording of coreboot source code 2020-04-16 14:36:28 +08:00
intel_regs.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
interrupt.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
io.h x86: Adjust I/O macros to work on 64-bit machines 2019-02-20 15:25:29 +08:00
ioapic.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ioctl.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
irq.h x86: irq: Support discrete PIRQ routing registers via device tree 2018-06-13 09:50:57 +08:00
ist.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
itss.h x86: Move itss.h from Apollo Lake to the generic x86 include directory 2020-02-04 01:19:28 +08:00
lapic.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
linkage.h x86: move arch-specific asmlinkage to <asm/linkage.h> 2014-12-15 07:22:53 -07:00
lpc_common.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
lpss.h x86: Add low-power subsystem (lpss) support 2019-12-15 11:44:25 +08:00
me_common.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
microcode.h x86: Use microcode update from device tree for all processors 2018-07-02 09:23:28 +08:00
mp.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mpspec.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mrc_common.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mrccache.h x86: Don't export mrccache_update() 2019-12-15 11:44:14 +08:00
msr-index.h x86: apl: Add a CPU driver 2019-12-15 11:44:29 +08:00
msr.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mtrr.h x86: Add a function to set variable MTRRs 2019-10-08 13:57:48 +08:00
pch_common.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci.h x86: pci: Drop the first parameter in pci_x86_r/w_config() 2019-10-08 13:57:46 +08:00
pirq_routing.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmu.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pnp_def.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
posix_types.h x86: Change __kernel_size_t conditionals to use compiler provided defines 2018-06-24 08:56:04 +08:00
post.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
processor-flags.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
processor.h x86: Add support for newer CAR schemes 2019-12-15 11:44:18 +08:00
ptrace.h x86: Display correct CS/EIP/EFLAGS when there is an error code 2015-07-28 10:36:21 -06:00
report_platform.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
scu.h x86: cpu: introduce scu_ipc_raw_command() 2018-09-17 14:34:15 +08:00
sections.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
setjmp.h x86: Add 64-bit setjmp/longjmp implementation 2018-06-24 08:56:04 +08:00
sfi.h SPDX: Convert all of our multiple license tags to Linux Kernel style 2018-05-07 10:24:31 -04:00
sipi.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
speedstep.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl.h x86: spi: Add helper functions for Intel Fast SPI 2019-12-15 11:44:08 +08:00
string.h x86: do not use i386 code for x86_64 memory functions 2019-02-13 09:40:06 +01:00
tables.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
turbo.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
types.h arch: types.h: factor out fixed width typedefs to int-ll64.h 2018-09-10 20:48:16 -04:00
u-boot-x86.h x86: Add a CPU init function for TPL 2019-11-03 07:20:28 +08:00
u-boot.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
unaligned.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
zimage.h x86: zimage: Support booting Linux kernel from an EFI payload 2018-08-30 11:23:14 +08:00