Skip to content

Commit

Permalink
loader: Do not force comconsole for arm and arm64
Browse files Browse the repository at this point in the history
This makes GOP not probed on some situation (AMD Card on PCIe slot
with EDK2 as we have a SERIAL_IO_PROTOCOL compatible uart).

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D32992
Sponsored by: Beckhoff Automation GmbH & Co. KG

(cherry picked from commit 123b5b8)
  • Loading branch information
evadot committed Jan 14, 2022
1 parent 50af79a commit 7f08e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stand/efi/loader/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ main(int argc, CHAR16 *argv[])
*/
setenv("console", "efi", 1);
uhowto = parse_uefi_con_out();
#if defined(__aarch64__) || defined(__arm__) || defined(__riscv)
#if defined(__riscv)
if ((uhowto & RB_SERIAL) != 0)
setenv("console", "comconsole", 1);
#endif
Expand Down

0 comments on commit 7f08e54

Please sign in to comment.