]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r346701: loader: fdt: Add fdt_is_setup function
authorKyle Evans <kevans@FreeBSD.org>
Thu, 24 Oct 2019 02:46:36 +0000 (02:46 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Thu, 24 Oct 2019 02:46:36 +0000 (02:46 +0000)
commit3a51baab41730657ba62d54a8974816413e2b73f
tree89ef7af762517c46ca0dfa70a12bcb3cc17872f6
parent37f6e3bf11ed0f1f03c32a4176959b0bc45b4823
MFC r346701: 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.
stand/efi/loader/autoload.c
stand/fdt/fdt_loader_cmd.c
stand/fdt/fdt_platform.h