Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2018 02:20:35 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r341391 - head/stand/uboot/common
Message-ID:  <201812020220.wB22KZsq060362@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812020220.wB22KZsq060362>