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");
This commit is contained in:
Ian Lepore 2014-02-22 03:36:45 +00:00
parent f5658746ab
commit 7c674742cb

View File

@ -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");