diff options
| author | Colin Percival <cperciva@FreeBSD.org> | 2026-01-18 17:19:03 -0800 |
|---|---|---|
| committer | Colin Percival <cperciva@FreeBSD.org> | 2026-01-24 12:18:35 -0800 |
| commit | ec2b3d786b236ac64ff5d3e28e8d05e2293896d5 (patch) | |
| tree | 4545a3d89ba73e43521cdf33b571e81770c4f802 /lib/CodeGen/CGExprScalar.cpp | |
| parent | 710167623d82664ab4276776aed502ab6f91d8ff (diff) | |
loader: Only warn for !FDT && !ACPI take two
For unclear reasons, we used to print two warnings about not having a
DTB: First,
printf("No valid device tree blob found!\n");
and immediately later a second,
printf("WARNING! Trying to fire up the kernel, but no "
"device tree blob found!\n");
A previous commit silenced the second warning in the event that the
acpi.revision environment variable was set, on the theory that systems
which have ACPI might not need a DTB; this commit silences the first
of the two warnings under the same condition.
Reviewed by: andrew
Fixes: 3989a3d81701 ("loader: Only warn when we have neither FDT nor ACPI")
Sponsored by: Amazon
Differential Revision: https://reviews.freebsd.org/D54772
Diffstat (limited to 'lib/CodeGen/CGExprScalar.cpp')
0 files changed, 0 insertions, 0 deletions
