
Hi Simon,
-----"Simon Glass" sjg@chromium.org schrieb: -----
Sometimes we need to generate ACPI code on the fly based on things only known at run time. Add a new 'acpigen' library to handle this. This code comes from coreboot and has been modified to support the acpi_ctx struct.
Also add acpi_device.c to the build, since these files are co-dependent.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2: None
include/acpigen.h | 482 +++++++++++++ include/dm/acpi.h | 7 + include/irq.h | 2 + lib/acpi/Makefile | 2 + lib/acpi/acpigen.c | 1683 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 2176 insertions(+) create mode 100644 include/acpigen.h create mode 100644 lib/acpi/acpigen.c
What coreboot version is this based on? I have compared it to the current master in coreboot and there are some differences (ignoring the changes for acpi_ctx support).
regards, Wolfgang