HomeFreeBSD

uart: uart_cpu_arm64: fix the build without FDT

Description

uart: uart_cpu_arm64: fix the build without FDT

clang 14 doesn't properly determine that we're unconditionally returning
if we have ACPI but not FDT. Push FDT setup entirely into a new
function, much like we currently do with ACPI, and just return ENXIO if
that doesn't succeed.

Reviewed by: andrew, manu (earlier version)

(cherry picked from commit 4a4ad02da3c8f598b4ccf15b6cac9de3ebce3ba1)

Details

Provenance
kevansAuthored on Sep 29 2022, 7:33 PM
Parents
rG501f7030231b: usb: musb_otg_allwinner: de-constify bus_space_tags
Branches
Unknown
Tags
Unknown