diff options
author | ian <ian@FreeBSD.org> | 2014-02-22 03:36:45 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-02-22 03:36:45 +0000 |
commit | f59db7212f9c5b0509b3ff2ce41d684ae15adb1e (patch) | |
tree | 944e165eeedb7233d8c71973eb077ed3c026dc2c /sys/boot/fdt/fdt_loader_cmd.c | |
parent | 0f01aae959cf41d6e91b1a28ce448c31b97d014d (diff) | |
download | FreeBSD-src-f59db7212f9c5b0509b3ff2ce41d684ae15adb1e.zip FreeBSD-src-f59db7212f9c5b0509b3ff2ce41d684ae15adb1e.tar.gz |
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");
Diffstat (limited to 'sys/boot/fdt/fdt_loader_cmd.c')
-rw-r--r-- | sys/boot/fdt/fdt_loader_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/fdt/fdt_loader_cmd.c b/sys/boot/fdt/fdt_loader_cmd.c index 80acd8f..d8ad942 100644 --- a/sys/boot/fdt/fdt_loader_cmd.c +++ b/sys/boot/fdt/fdt_loader_cmd.c @@ -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"); |