[PATCH v3 00/57] dm: Add programatic generation of ACPI tables (part D)

Bin Meng bmeng.cn at gmail.com
Tue Sep 22 10:16:43 CEST 2020


Hi Simon,

On Mon, Sep 7, 2020 at 5:44 AM Simon Glass <sjg at chromium.org> wrote:
>
> Note: This is part D of this effort. With this, Coral includes all
> required ACPI tables.
>
> At present on x86 U-Boot supports creating ACPI (Advanced Configuration
> and Power Interface) tables using the Intel ACPI Source Language (ASL)
> compiler.
>
> This is good enough for basic operation but some devices need to add
> their information dynamically at runtime. An example is a device that
> needs to report its enable GPIO. This is described in the device tree,
> so we want to add code in the driver to convert that device-tree
> description into an ACPI description for use on Linux.
>
> This series adds support for generation of ACPI tables and fragments by
> devices. The core support is built into driver model.
>
> Several files are brought over from coreboot to do the actual generation.
>
> As an example of using this new feature, chromebook_coral is updated to
> write out a wide array of ACPI tables including DSDT and SSDT.
>
> This initial version of the series lays out the general approach. More
> work is needed to figure out the difference between CONFIG_ACPIGEN and
> CONFIG_GENERATE_ACPI_TABLE with respect to what is built.
>

This series does not apply on u-boot-x86/next. Could you please
rebase, and address Andy's comments?

Regards,
Bin


More information about the U-Boot mailing list