svn commit: r341391 - head/stand/uboot/common

Justin Hibbits jhibbits at FreeBSD.org
Sun Dec 2 02:20:36 UTC 2018


Author: jhibbits
Date: Sun Dec  2 02:20:35 2018
New Revision: 341391
URL: https://svnweb.freebsd.org/changeset/base/341391

Log:
  ubldr: Force 'usefdt' variable to 1 for powerpc
  
  The fdt is gated, on powerpc, with a 'usefdt' environment variable.  Force
  enable it in ubldr, so that the fdt is passed through the metadata.

Modified:
  head/stand/uboot/common/main.c

Modified: head/stand/uboot/common/main.c
==============================================================================
--- head/stand/uboot/common/main.c	Sun Dec  2 00:41:43 2018	(r341390)
+++ head/stand/uboot/common/main.c	Sun Dec  2 02:20:35 2018	(r341391)
@@ -497,6 +497,9 @@ main(int argc, char **argv)
 do_interact:
 	setenv("LINES", "24", 1);		/* optional */
 	setenv("prompt", "loader>", 1);
+#ifdef __powerpc__
+	setenv("usefdt", "1", 1);
+#endif
 
 	archsw.arch_loadaddr = uboot_loadaddr;
 	archsw.arch_getdev = uboot_getdev;


More information about the svn-src-head mailing list