dm: core: Don't show an ACPI warning if there is no ordering
authorSimon Glass <sjg@chromium.org>
Fri, 17 Jul 2020 14:49:25 +0000 (08:49 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 20 Jul 2020 01:46:42 +0000 (09:46 +0800)
Some boards don't care about the ordering of ACPI code fragments. Change
the warning to a debug message.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
drivers/core/acpi.c

index cdbc2c5..7fe9399 100644 (file)
@@ -195,7 +195,7 @@ static int sort_acpi_item_type(struct acpi_ctx *ctx, void *start,
                                        "u-boot,acpi-dsdt-order" :
                                        "u-boot,acpi-ssdt-order", &size);
        if (!order) {
-               log_warning("Failed to find ordering, leaving as is\n");
+               log_debug("Failed to find ordering, leaving as is\n");
                return 0;
        }