]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: Ignore DT when ACPI is on
authorAlexander Graf <agraf@csgraf.de>
Sun, 27 Feb 2022 12:18:56 +0000 (13:18 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 20 Mar 2022 10:03:06 +0000 (11:03 +0100)
commitcf292730ec71a14040aa3ffe23d2350b1ccb181a
tree4f7015272ebe11af1ecf1af6a44b12cfc1916549
parent2516de89d5ce44bda0f25e1afc7c24b5c944d1ba
efi_loader: Ignore DT when ACPI is on

For targets that enable ACPI, we should not pass Device Trees into
the payload. However, our distro boot logic always passes the builtin
DT as an argument.

To make it easy to use ACPI with distro boot, let's just ignore the DT
argument to bootefi when ACPI is enabled. That way, we can successfully
distro boot payloads on ACPI enabled targets.

Signed-off-by: Alexander Graf <agraf@csgraf.de>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
cmd/bootefi.c