[PATCH] dm: core: Don't show an ACPI warning if there is no ordering

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 ---
drivers/core/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/core/acpi.c b/drivers/core/acpi.c index cdbc2c5cf5..7fe93992b5 100644 --- a/drivers/core/acpi.c +++ b/drivers/core/acpi.c @@ -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; }

On Fri, Jul 17, 2020 at 10:49 PM Simon Glass sjg@chromium.org wrote:
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
drivers/core/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com

On Fri, Jul 17, 2020 at 11:03 PM Bin Meng bmeng.cn@gmail.com wrote:
On Fri, Jul 17, 2020 at 10:49 PM Simon Glass sjg@chromium.org wrote:
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
drivers/core/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com
Tested-by: Bin Meng bmeng.cn@gmail.com
applied to u-boot-x86, thanks!
participants (2)
-
Bin Meng
-
Simon Glass