[PATCH v4 29/35] acpi: Support ordering SSDT data by device
Bin Meng
bmeng.cn at gmail.com
Mon Jul 13 05:15:23 CEST 2020
On Wed, Jul 8, 2020 at 3:13 AM Simon Glass <sjg at chromium.org> wrote:
>
> Add a /chosen property to control the order in which the data appears
> in the SSDT. This allows matching up U-Boot's output from a dump of the
> known-good data obtained from within Linux.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>
> ---
>
> Changes in v4:
> - Explain in sort_acpi_item_type() why ctx->current is not updated
>
> Changes in v3:
> - Make find_item() static and rename to find_acpi_item()
> - Rename build_type() and add a comment
>
> Changes in v1:
> - Generalise the ACPI function recursion with acpi_recurse_method()
>
> arch/sandbox/dts/test.dts | 5 +-
> doc/device-tree-bindings/chosen.txt | 9 ++++
> drivers/core/acpi.c | 84 +++++++++++++++++++++++++++++
> test/dm/acpi.c | 15 +++---
> 4 files changed, 105 insertions(+), 8 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list