svn commit: r271054 - head/sys/boot/common

Ian Lepore ian at FreeBSD.org
Wed Sep 3 21:25:37 UTC 2014


Author: ian
Date: Wed Sep  3 21:25:36 2014
New Revision: 271054
URL: http://svnweb.freebsd.org/changeset/base/271054

Log:
  When built with FDT support, add /boot/dtb to the list of search directories.

Modified:
  head/sys/boot/common/module.c

Modified: head/sys/boot/common/module.c
==============================================================================
--- head/sys/boot/common/module.c	Wed Sep  3 21:17:09 2014	(r271053)
+++ head/sys/boot/common/module.c	Wed Sep  3 21:25:36 2014	(r271054)
@@ -66,7 +66,12 @@ static void			moduledir_rebuild(void);
 /* load address should be tweaked by first module loaded (kernel) */
 static vm_offset_t	loadaddr = 0;
 
+#if defined(LOADER_FDT_SUPPORT)
+static const char	*default_searchpath =
+    "/boot/kernel;/boot/modules;/boot/dtb";
+#else
 static const char	*default_searchpath ="/boot/kernel;/boot/modules";
+#endif
 
 static STAILQ_HEAD(, moduledir) moduledir_list = STAILQ_HEAD_INITIALIZER(moduledir_list);
 


More information about the svn-src-all mailing list