]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r262664, r262694:
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 29 Apr 2014 00:36:51 +0000 (00:36 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 29 Apr 2014 00:36:51 +0000 (00:36 +0000)
commit84a76a146e7ea6b178db0abb47a5308ce5c05b55
treebe0ec586551caa57c1fb3ef0e1447f4be837f2f8
parent8201ca79402a995415703e802f8996fcf4c37a4a
MFC r262664, r262694:

  Prevent fdt data loaded from a file from overwriting the kernel environment,
  by having uboot_autoload() do the fdt setup (which may load a file) rather
  than waiting until we're actually in the process of launching the kernel.

  As part of making this happen...
   - Define LOADER_FDT_SUPPORT on the uboot/lib compile command line when
     MK_FDT is set.
   - Make fdt_setup_fdtb() public.
   - Declare public fdt_whatever() functions in a header instead of using
     scattered extern decls in .c files.

git-svn-id: svn://svn.freebsd.org/base/stable/10@265069 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/boot/fdt/fdt_loader_cmd.c
sys/boot/uboot/common/metadata.c
sys/boot/uboot/lib/Makefile
sys/boot/uboot/lib/libuboot.h
sys/boot/uboot/lib/module.c