diff options
author | Tom Rini <trini@konsulko.com> | 2015-10-27 19:08:19 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-27 19:08:19 -0400 |
commit | 2431492aef1de33bd222c97ecc131a338d9c454e (patch) | |
tree | 4e57720bbefe998dbafcce6a1fb015baa936a73e /common/board_r.c | |
parent | c139b5ff0999ec3d44a02ebdb623a92e5782e53e (diff) | |
parent | 4ea5243a3a2fbc59bbcdd401d75f1744bcd6280f (diff) |
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'common/board_r.c')
-rw-r--r-- | common/board_r.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/board_r.c b/common/board_r.c index a412bb7554d..c4fd3eaf8cc 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -449,6 +449,9 @@ static int initr_env(void) env_relocate(); else set_default_env(NULL); +#ifdef CONFIG_OF_CONTROL + setenv_addr("fdtcontroladdr", gd->fdt_blob); +#endif /* Initialize from environment */ load_addr = getenv_ulong("loadaddr", 16, load_addr); |