
11 Mar
2020
11 Mar
'20
12:36 p.m.
-----"Simon Glass" sjg@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@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@br-automation.com