u-boot-brain/arch/x86/lib
Simon Glass d2cb7a22da x86: Allow putting some tables in the bloblist
At present all tables are placed starting at address f0000 in memory, and
can be up to 64KB in size. If the tables are very large, this may not
provide enough space.

Also if the tables point to other tables (such as console log or a ramoops
area) then we must allocate other memory anyway.

The bloblist is a nice place to put these tables since it is contiguous,
which makes it easy to reserve this memory for linux using the 820 tables.

Add an option to put some of the tables in the bloblist. For SMBIOS and
ACPI, create suitable pointers from the f0000 region to the new location
of the tables.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: squashed in http://patchwork.ozlabs.org/project/uboot/patch/
 20201105062407.1.I8091ad931cbbb5e3b6f6ababdf3f8d5db0d17bb9@changeid/]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
2020-11-06 09:51:28 +08:00
..
fsp x86: Add a way to add to the e820 memory table 2020-09-25 11:27:25 +08:00
fsp1 x86: Avoid #ifdef with CONFIG_HAVE_ACPI_RESUME 2020-07-17 14:32:24 +08:00
fsp2 x86: fsp: Show FSP-S or FSP-M address in fsp_get_header() 2020-09-25 11:27:24 +08:00
acpi_nhlt.c x86: Add support for building up an NHLT structure 2020-07-17 14:32:24 +08:00
acpi_s3.c x86: Move acpi_table header to main include/ directory 2020-04-16 14:36:28 +08:00
acpi_table.c x86: acpi: Store the ACPI context in global_data 2020-11-05 14:58:45 +08:00
acpi.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
acpigen.c x86: acpi: Add PCT and PTC tables 2020-09-25 11:27:18 +08:00
asm-offsets.c x86: Add new slimbootloader CPU type 2019-08-09 22:24:02 +08:00
bios_asm.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bios_interrupts.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bios.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bios.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bootm.c x86: zboot: Allow overriding the command line 2020-09-25 11:27:10 +08:00
cmd_boot.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
coreboot_table.c x86: Avoid #ifdef with CONFIG_HAVE_ACPI_RESUME 2020-07-17 14:32:24 +08:00
crt0_ia32_efi.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
crt0_x86_64_efi.S x86: Remove unused _relocate arguments 2018-07-19 16:31:36 -04:00
div64.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
e820.c efi_loader: round the memory area in efi_add_memory_map() 2020-05-17 21:59:53 +02:00
early_cmos.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
elf_ia32_efi.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
elf_x86_64_efi.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
hob.c x86: fsp: Tidy up comment style a little 2019-10-08 13:53:54 +08:00
i8254.c x86: Make sure i8254 is setup correctly before generating beeps 2019-03-11 22:55:01 +08:00
i8259.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
init_helpers.c x86: cpu: Skip init code when chain loading 2020-04-30 17:40:16 +08:00
interrupts.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
lpc-uclass.c x86: Allow the PCH and LPC uclasses to work with of-platdata 2019-10-08 13:57:48 +08:00
Makefile x86: apl: Generate CPU tables 2020-09-25 11:27:20 +08:00
mpspec.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mrccache.c x86: mrccache: Allow use before driver model is active 2020-06-02 09:16:13 +08:00
northbridge-uclass.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
physmem.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pinctrl_ich6.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pirq_routing.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pmu.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ramtest.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reloc_ia32_efi.c elf: Move x86 reloc defines to common elf.h 2018-07-25 14:57:43 +02:00
reloc_x86_64_efi.c elf: Move x86 reloc defines to common elf.h 2018-07-25 14:57:43 +02:00
relocate.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
scu.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sections.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sfi.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl.c x86: spl: Print the error on SPL failure 2020-06-02 09:16:13 +08:00
string.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tables.c x86: Allow putting some tables in the bloblist 2020-11-06 09:51:28 +08:00
tpl.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
zimage.c x86: zboot: Allow overriding the command line 2020-09-25 11:27:10 +08:00