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

Simon Glass sjg at chromium.org
Sat Mar 14 21:34:57 CET 2020


Hi Wolfgang,

On Fri, 13 Mar 2020 at 03:55, Wolfgang Wallner
<wolfgang.wallner at br-automation.com> wrote:
>
> 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).

I don't think coreboot does releases very often. The commit is efa3084d63.

Regards,
Simon


More information about the U-Boot mailing list