Antwort: [PATCH v2 30/39] acpi: Add functions to generate ACPI code

Wolfgang Wallner wolfgang.wallner at br-automation.com
Fri Mar 13 10:55:17 CET 2020


Hi Simon,

-----"Simon Glass" <sjg at 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 at 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


More information about the U-Boot mailing list