HomeFreeBSD

loader: Fix dtb loading

Description

loader: Fix dtb loading

When calling file_findfile with only a type it returns
the first file matching the type. But in fdt_apply_overlays we
then iterate on the next files and try loading them as dtb overlays.
Fix this by checking the type one more time.

Sponsored by: Diablotin Systems
Reported by: Mark Millard <marklmi@yahoo.com>

Details

Provenance
manuAuthored on Jul 5 2021, 1:50 PM
Parents
rGf649cff58721: pf: padalign global locks found in pf.c
Branches
Unknown
Tags
Unknown