HomeFreeBSD

loader: fdt: Add fdt_is_setup function

Description

loader: fdt: Add fdt_is_setup function

When efi_autoload is called it will call fdt_setup_fdtp which setup the
dtb and overlays. If a user already loaded at dtb or overlays or just
printed the efi provided dtb, this will re-setup everything and also
re-applying the overlays.
Test that everything is setup before doing it again.

Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D20059

Details

Provenance
manuAuthored on
Reviewer
kevans
Differential Revision
D20059: loader: fdt: Add fdt_is_setup function
Parents
rS346700: libbe(3): Fix mis-application of patch (SHLIBDIR)
Branches
Unknown
Tags
Unknown