]> git.baikalelectronics.ru Git - uboot.git/commit
fdt: sandbox: correct use of ${fdtcontroladdr}
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 18 Nov 2018 16:58:50 +0000 (17:58 +0100)
committerAlexander Graf <agraf@suse.de>
Sun, 2 Dec 2018 20:59:37 +0000 (21:59 +0100)
commite879c71d5d0ded1952f49958a2fefc5be13b6cc7
tree75b0741f160b42314a020503969061dd628072d1
parent3f1fdb0c9ec7b60cc0e28c9945557dddd3581839
fdt: sandbox: correct use of ${fdtcontroladdr}

The sandbox uses a virtual address space that is neither the physical nor
the virtual address space of the operating system. All address used on the
command line live in this address space. So also the environment variable
${fdtcontroladdr} has to be in this address space.

Commands like bootefi and booti receive the fdt address as parameter.
Without the patch ${fdtcontroladdr} cannot be used as parameter value on
the sandbox.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
common/board_r.c
lib/fdtdec.c