coreboot/src
Arthur Heymans 5cf02a4ecd lib/hardwaremain.c: Move creating ACPI structs to bootstate hooks
hardwaremain.c is the common ramstage entry to all platforms so move
out ACPI code generation (x86 specific) to boot state hooks.

Another reason to do this is the following:
On some platforms that start in dram it makes little sense to have
separate stages. To reduce the complexity we want to call the ramstage
main function instead of loading a full stage. To make this scheme
more maintainable it makes sense to move out as much functionality
from the 'main' function as possible.

Change-Id: I613b927b9a193fc076ffb1b2a40c617965ce2645
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63414
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2022-04-27 10:56:47 +00:00
..
acpi lib/hardwaremain.c: Move creating ACPI structs to bootstate hooks 2022-04-27 10:56:47 +00:00
arch arch/x86/acpi_bert_storage.c: Use BOOT_STATE over CBMEM hooks 2022-04-25 16:34:44 +00:00
commonlib commonlib: Replace 'stdlib' with 'stddef' 2022-04-24 18:31:14 +00:00
console console: Make CONSOLE_SPI_FLASH depend on BOOT_DEVICE_SPI_FLASH 2022-04-27 06:55:47 +00:00
cpu cpu/x86/64bit: Generate static page tables from an assembly file 2022-04-25 14:00:41 +00:00
device device: Remove unused <cbmem.h> 2022-04-22 21:40:07 +00:00
drivers tpm: Allow separate handling of Google Ti50 TPM 2022-04-24 22:09:42 +00:00
ec ec/purism/librem: Remove unused Kconfig file 2022-04-24 21:26:21 +00:00
include lib/hardwaremain.c: Move creating ACPI structs to bootstate hooks 2022-04-27 10:56:47 +00:00
lib lib/hardwaremain.c: Move creating ACPI structs to bootstate hooks 2022-04-27 10:56:47 +00:00
mainboard mb/facebook/fbg1701: Remove ONBOARD_SAMSUNG_MEM 2022-04-27 09:06:30 +00:00
northbridge nb/amd/{agesa,pi}: Clean up some math expressions 2022-04-24 21:35:25 +00:00
security {drivers,northbridge,security}: Remove unused <cpu/x86/lapic.h> 2022-04-24 21:23:10 +00:00
soc amdfwtool: Change the name of macros for 'BHD' 2022-04-25 14:46:12 +00:00
southbridge sb/intel/{i82371eb/i82801dx}: select BOOT_DEVICE_NOT_SPI_FLASH 2022-04-27 06:55:30 +00:00
superio superio/smsc/mec1308: Drop _PRS from static devices 2022-04-20 10:02:17 +00:00
vendorcode lib/hardwaremain.c: Move creating ACPI structs to bootstate hooks 2022-04-27 10:56:47 +00:00
Kconfig Kconfig: Make HAVE_EM100_SUPPORT invisible 2022-04-19 13:04:25 +00:00