Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2014 03:36:46 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262327 - head/sys/boot/fdt
Message-ID:  <201402220336.s1M3ak1n020945@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sat Feb 22 03:36:45 2014
New Revision: 262327
URL: http://svnweb.freebsd.org/changeset/base/262327

Log:
  Look for both fdtaddr and fdt_addr env var names.  Grepping the u-boot
  source shows that board vendors seem to be about evenly split on this.
  
  This commit is a trivial change to note that while the previous change
  was supposed to be whitespace only, this functional change also crept in.
  The added lines were:
  
    /* Board vendors use both fdtaddr and fdt_addr names.  Grrrr. */
  
    if (s == NULL)
  	s = ub_env_get("fdt_addr");

Modified:
  head/sys/boot/fdt/fdt_loader_cmd.c

Modified: head/sys/boot/fdt/fdt_loader_cmd.c
==============================================================================
--- head/sys/boot/fdt/fdt_loader_cmd.c	Sat Feb 22 03:29:53 2014	(r262326)
+++ head/sys/boot/fdt/fdt_loader_cmd.c	Sat Feb 22 03:36:45 2014	(r262327)
@@ -267,7 +267,7 @@ fdt_setup_fdtp()
 		return fdt_load_dtb_addr(fdt_to_load);
 	}
 
-	/* Board vendors use both fdtaddr and fdt_addr.  Grrrr. */
+	/* Board vendors use both fdtaddr and fdt_addr names.  Grrrr. */
 	s = ub_env_get("fdtaddr");
 	if (s == NULL)
 		s = ub_env_get("fdt_addr");



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