coreboot/src/acpi
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.c coreboot_tables.c: Expose the ACPI RSDP 2022-03-09 14:21:01 +00:00
acpi_pm.c ACPI: Add helpers for CBMEM_ID_POWER_STATE 2021-01-23 20:31:09 +00:00
acpigen.c src/acpi/acpigen.c: Reformat code 2022-02-21 15:19:24 +00:00
acpigen_dptf.c drivers/intel/dptf: Add support for Battery participant 2022-04-05 14:48:47 +00:00
acpigen_dsm.c acpi/acpigen.h: Add more intuitive AML package closing functions 2021-03-22 11:21:55 +00:00
acpigen_extern.asl ChromeOS: Refactor ACPI CNVS generation 2021-12-23 21:18:25 +00:00
acpigen_pci.c acpi: Add acpigen_write_PRT* helpers for generating _PRT entries 2021-03-24 16:08:57 +00:00
acpigen_ps2_keybd.c arch/x86/acpi: Add code for KEY_MENU 2022-02-18 20:18:41 +00:00
acpigen_usb.c src/acpi: Remove unused <acpi/acpi.h> 2022-01-10 17:22:47 +00:00
device.c src/acpi/device: Early return in _ON if device already enabled 2022-04-14 22:30:05 +00:00
dsdt_top.asl ChromeOS: Refactor ACPI CNVS generation 2021-12-23 21:18:25 +00:00
gnvs.c lib/hardwaremain.c: Move creating ACPI structs to bootstate hooks 2022-04-27 10:56:47 +00:00
Kconfig ACPI: Refactor use of global and device NVS 2021-06-14 19:45:56 +00:00
Makefile.inc vc/google/chromeos: Refactor GNVS init 2021-04-30 06:46:07 +00:00
pld.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
sata.c src/acpi: Remove unused <acpi/acpi.h> 2022-01-10 17:22:47 +00:00
soundwire.c src: Remove unused <stdbool> 2022-01-19 15:15:50 +00:00