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:
parent
f5658746ab
commit
7c674742cb
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user