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");
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"