]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r262340, r262345, r262347, find and load an appropriate dtb file.
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 29 Apr 2014 00:31:32 +0000 (00:31 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 29 Apr 2014 00:31:32 +0000 (00:31 +0000)
commit8201ca79402a995415703e802f8996fcf4c37a4a
treefd44f38b9dfb8c157dc3d4abf88b4a8296d79ba5
parent61bc997f8046a3c7d2b5db0c39aca7204dea22f1
MFC r262340, r262345, r262347, find and load an appropriate dtb file.

The search order for a usable dtb in fdt_setup_fdtp() is now

 - A dtb loaded with an explicit "load -t dtb" command.
 - A dtb already loaded into memory somehow[*] and pointed to by fdt_to_load.
 - A dtb in the memory pointed to by the u-boot env vars fdtaddr or fdt_addr.
 - A file named by the u-boot env vars fdtfile or fdt_file.
 - A static dtb compiled into the kernel.

 * Presumably by some arch-specific command or code.

git-svn-id: svn://svn.freebsd.org/base/stable/10@265068 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/boot/common/bootstrap.h
sys/boot/common/module.c
sys/boot/fdt/fdt_loader_cmd.c