Antwort: [PATCH v2 20/39] acpi: Add a method to write tables for a device

Wolfgang Wallner wolfgang.wallner at br-automation.com
Wed Mar 11 12:36:21 CET 2020


-----"Simon Glass" <sjg at chromium.org> schrieb: -----
> 
> A device may want to write out ACPI tables to describe itself to Linux.
> Add a method to permit this.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
> Changes in v2:
> - Drop definition of ACPI_TABLE_CREATOR
> - Make _acpi_write_dev_tables() static and switch argument order
> - Generalise the ACPI function recursion with acpi_recurse_method()
> 
>  arch/sandbox/dts/test.dts |  4 +++
>  drivers/core/acpi.c       | 61 +++++++++++++++++++++++++++++++++++++++
>  include/dm/acpi.h         | 30 +++++++++++++++++++
>  test/dm/acpi.c            | 43 +++++++++++++++++++++++++++
>  4 files changed, 138 insertions(+)

Reviewed-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>




More information about the U-Boot mailing list